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.4.tar.gz (2.2 MB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: photos_where-1.4.tar.gz
  • Upload date:
  • Size: 2.2 MB
  • 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.4.tar.gz
Algorithm Hash digest
SHA256 91741c92e17390fbbabd992371fafc773c90125f1168a3fd0c336144ac15bbf7
MD5 c7caf7d856f08586fb47259a29e63f0c
BLAKE2b-256 4c267468ab4a02fe22273a587ad51107495ba93b1e6feb373b72fb614e823e26

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