mapillary / mapillary_tools

Command line tools for processing and uploading Mapillary imagery
BSD 2-Clause "Simplified" License
264 stars 137 forks source link

POC - Restructure video processing and add gpx, nmea and exiftool runtime support #654

Closed malconsei closed 1 year ago

malconsei commented 1 year ago

This PR is a proof of concept covering video processing (process command applied to videos)

Restructuring:

New features:

Examples:

# short format
python -m mapillary_tools.commands --verbose  process --video_geotag_source exiftool_runtime  videos/insta360/

# long format - with options
python -m mapillary_tools.commands --verbose  process --video_geotag_source {"source": "exiftool_xml", "pattern": "../%g.insv.xml"}  videos/insta360/converted/

# multiple sources
python -m mapillary_tools.commands --verbose  process --video_geotag_source {"source": "gpx", "pattern": "../%g.gpx"} --video_geotag_source {"source": "gpx", "pattern": "../%g.xml"}  videos/gopro/

TODO: