Skip to content

Automation Scripts

kertase edited this page Aug 22, 2016 · 6 revisions

Mapillary

Mapillary makes a set of https://github.com/mapillary/mapillary_tools/tree/master/python available to generate their tags and some extra data for a nice display on their services.

I used the following:
interpolate_direction.py: Interpolates the gps data to get image orientation
add_mapillary_tag_from_exif.py: adds the Mapillary tags requires username, email and password of mapillary account upload.py uploads images to mapillary

I made a set of bash scripts that might need some editing depending what is the intent and the prepossessing already done:
The https://github.com/alsenet-internship/3d4pi-scripts/blob/master/mapillary_scripts/upload.sh uses the other scripts and does the some processing such as image compression necessary for mapillary and uploads the images.
https://github.com/alsenet-internship/3d4pi-scripts/blob/master/mapillary_scripts/AddSphereXMP.sh copies gps time data to exif original time data needed bd mapillary script
https://github.com/alsenet-internship/3d4pi-scripts/blob/master/mapillary_scripts/AddSphereXMP.sh Adds some basic Photo Sphere XMP Metadata needed for example by the mapillary viewer to display panoramas correctly.

Clone this wiki locally