Skip to content

jg10545/gomap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gomap

Some utilities for working with gopro data

Requirements

Tested under Python 3.6 with numpy, pandas, pillow, pyproj, and bokeh. You can recreate my environment using:

conda env create -f environment.yml

Activate the environment with

. activate gomap

CLI

At the moment gomap has two command-line scripts for managing GoPro images. Run either with -h from the console to pull up help information.

prune.py

Remove image files that were taken within some threshold distance of each other.

Usage

Just pass it the directory to be scanned:

python prune.py /path/to/image/dir1

Default threshold is 2 meters. If the files are split in multiple folders, you can pass it the top-level directory and it will search all subdirectories.

You can also set the distance threshold (in meters) for pruning:

python prune.py /path/to/DCIM/ --thresh 5

map.py

map example

Map out the locations where images have been taken.

Usage

Just like prune.py, pass the directory (or top-level directory) containing images:

python map.py /path/to/DCIM/

About

A couple scripts for managing GoPro files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages