Insert GPS coordinates into pictures EXIF, based on an external track and interpolating timestamp
Project description
Coordinates label photos
The problem we are trying to solve: On the one hand, we have a photos with unlabeled GPS data, but only a timestamp. In the other hand, we have a GPS track, with coordinates and timestamp. This situation is originally caused by the fact that pictures are taken underwater but we can position a GPS above the water. Our purpose is to interpolate the GPS position from the track, with the photo timestamp and insert the information in the EXIF photo metadata.
Installation
pip install coordinates-label-photos
Run
To label all images from /path/to/images-directory/*
with the GPX track points from path/to/your.gpx
:
coordinates-label-photos --gpx=/path/to/your.gpx --images=/path/to/images-directory
With optional arguments:
--report-photo-locations=/path/to/report-photo-locations.jpeg
to generate an image with photo locations--report-track=/path/to/report-track.jpeg
to generate an image with the track points
Other Utils
A couple of side tools may come handy in some situations
Comparing GPX tracks
Compare various .gpx tracks (useful to plot the same track from different GPS)
plot-gpx-tracks --gpx="gps A:/path/to/a.gpx" --gpx="gps B:/path/to/b.gpx" --output=/path/to/plot.jpeg
Extracting photos coordinates to a GPX file
From a directory containing images (with GPS locations), create a GPX file
images-to-gpx --output=/path/to/a.gpx --images=/path/to/images-directory
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for coordinates-label-photos-0.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e01f08cc89c3d6fe66ec870f19063c7802c51c19a7c26d0aa6b6a79c1a1fe4f |
|
MD5 | 03a9c6405233e7490ccf6f103da29844 |
|
BLAKE2b-256 | 8c4679f0e15b0b154a3bbf8517836df29ee46b50b4bf18f6649c1811f83278f4 |
Hashes for coordinates_label_photos-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7cfbf5178e4e04241c913e84789101295f0b577317a56c92e039503b046885d3 |
|
MD5 | 80c3186fe89f727f0af889b875d40b61 |
|
BLAKE2b-256 | 9714d1e280b61acd5f0477ed0877ca027c950883354cc7f74e1b3bfa0f5fc80c |