This tool derives the GPS coordinates at which a video (in Delft) was taken.
It does this by extracting ORB features from the input video, and matching these to a labelled database of landmarks in Delft.
- Install dependencies:
$ pip install -r requirements.txt
- Run the script:
$ python src/main.py
Requisites: a folder with images from landmarks.
NOTE: If an image in your dataset doesn't contain GPS metadata, the script will prompt you for manual provisioning. Set SKIP_UNKNOWN_GEO
in src/img_index.py
to True
to instead skip said images.
Steps
- Delete the
index
folder, which contains the default Delft dataset. - Rerun the script:
$ python src/main.py
, it will guide you through the creation of your own dataset.
This repository is released under the MIT license. See LICENSE for additional details.