Skip to content

Derive the GPS coordinates at which a video (in Delft) was taken ๐Ÿ”

License

Notifications You must be signed in to change notification settings

jvdtoorn/landmark2gps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

24 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

License: MIT

Geo-location Prediction via Landmarks

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.

Example

  1. new-church-delft.m4v
    new-church-delft.m4v

  2. Running the script
    Screenshot of the script

  3. Pasting 52ยฐ00'45.0612"N 4ยฐ21'39.2724"E in Google Maps
    New church in Google Maps

Using the tool

  1. Install dependencies: $ pip install -r requirements.txt
  2. Run the script: $ python src/main.py

Creating your own dataset

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

  1. Delete the index folder, which contains the default Delft dataset.
  2. Rerun the script: $ python src/main.py, it will guide you through the creation of your own dataset.

License

This repository is released under the MIT license. See LICENSE for additional details.

About

Derive the GPS coordinates at which a video (in Delft) was taken ๐Ÿ”

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages