https://github.com/mcgillij/re-gps
Library created with nbdev to re-add GPS information stripped from Google Takeout using location history.
https://github.com/mcgillij/re-gps
google gps location-history takeout
Last synced: about 1 year ago
JSON representation
Library created with nbdev to re-add GPS information stripped from Google Takeout using location history.
- Host: GitHub
- URL: https://github.com/mcgillij/re-gps
- Owner: mcgillij
- License: mit
- Created: 2022-07-29T21:12:11.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-02-13T17:31:58.000Z (over 3 years ago)
- Last Synced: 2024-12-09T06:06:25.382Z (over 1 year ago)
- Topics: google, gps, location-history, takeout
- Language: Jupyter Notebook
- Homepage: https://mcgillij.github.io/re-gps/
- Size: 2.85 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
ReGPS
================
## Install
`pip install -e .` if you’re working locally
## How to use
> You will need your location history in JSON form, and the path to your
> images: you can replace `sample-data` with a path to your image files.
``` python
from regps.regps import regps
image_path = "sample-data/*.jpg"
location_data = "sample-data/sample.json"
output_path = "/tmp"
regps(image_path, location_data, output_path)
```
------------------------------------------------------------------------
#### regps
> regps (image_path, location_data, output_path)
Take Google Location data, and map it to an image folder based on date
details
| | **Details** |
|---------------|---------------------------|
| image_path | “sample-data/\*.jpg” |
| location_data | “sample-data/sample.json” |
| output_path | “/tmp” |