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 details)

Uploaded Source

File details

Details for the file image2gps-1.4.0.tar.gz.

File metadata

  • Download URL: image2gps-1.4.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for image2gps-1.4.0.tar.gz
Algorithm Hash digest
SHA256 408a1b21bc973571911fdc8bf0798d04a4cc8af479b801b27224f3d0d85e895c
MD5 4727ade761ca13dc20871b3ce36ca471
BLAKE2b-256 25ce26693bb21db4d9c92beb25236c0d6b0b1253c9b18b4509a5e3c54cc256f2

See more details on using hashes here.

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