An open API service indexing awesome lists of open source software.

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.

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” |