Skip to main content

Analyze exif data

Project description

Where - day by day location from your photos

This scripts reads EXIF data from your photos and generates CSV file or Pandas dataframe with day by day location in terms of country.

It relies on my package exif2pandas. It uses reverse-geocoder to convert GPS data to country codes. That module uses a csv file with 150k cities and then uses nearest neighbour algorithm to find the position of each gps data point. This sometimes does not work in border regions so if you are seeing bad data the easiest fix is to copy cities.csv and add your village etc.

In case some of your photos contain bad gps data that show that you have been to countries where you have never been you can use ignore_countries argument.

Jupyter examples:

See example.ipynb for example graphs and data frames exported.

Install:

See PYPI Python package.

$ pip install photos-where

Use:

$ photos_where Dropbox/Photos/2020/
$ ls where
cities-pie.jpg      
countries-pie.jpg
intervals.csv
location-by-day.csv 
photos.feather     
years.jpg

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

photos_where-1.2.tar.gz (5.1 kB view details)

Uploaded Source

File details

Details for the file photos_where-1.2.tar.gz.

File metadata

  • Download URL: photos_where-1.2.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.9.1

File hashes

Hashes for photos_where-1.2.tar.gz
Algorithm Hash digest
SHA256 e3eb59212800ba54a9eccb3a74884144765d2cba717d6ce26ce40e90491218f6
MD5 707aa855b3e70f4759f62ddbd7d8dff5
BLAKE2b-256 27afa45debdd17747ad57b0d6b76a66d3c62dba8fcb446c9799614b378dbaac8

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