Skip to main content

Extract time and coords from image 🖼📍⏱️

Project description

image2gps

Extract time and coords from image 🖼📍⏱️

demo Image source

from image2gps import image2gps

time, coords = image2gps('demo.jpg')
print(f'Image taken in {coords} at {time}')
# >>> Image taken in (43.467, 11.885) at 2008-11-01 21:15:07

This sample can be found here

Installation

pip install image2gps

Tests

python -m pytest tests

# or only certain tests
python -m pytest tests/test_main.py
python -m pytest tests/test_time.py

More

PyPI: https://pypi.org/project/image2gps

Repository: https://github.com/abionics/image2gps

Developer: Alex Ermolaev (Abionics)

Email: abionics.dev@gmail.com

License: MIT (see LICENSE.txt)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

image2gps-1.4.0.tar.gz (5.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page