-
Notifications
You must be signed in to change notification settings - Fork 1
Automation Scripts
Mapillary makes a set of tools 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:
•upload.sh uses the other scripts and does the some processing such as image compression necessary for mapillary and uploads the images.
•copygpstime.sh copies gps time data to exif original time data needed bd mapillary script
•AddSphereXMP.sh Adds some basic Photo Sphere XMP Metadata needed for example by the mapillary viewer to display panoramas correctly.
The Script dependencies:
‣By Mapillary scripts:
•python2
•python-exifread
•gpxpy
•PIL
•pyexiv2
‣By my bash scripts:
•exiftool(perl-image-exiftool)
•ImageMagick
•(have to be placed in the python directory of Mapillard_tools)
configfromexif.sh will created need data for freepano from exif, insert it in line 3 of js/panorama_list.js that should look like:
var panorama_list={
images: {
(...)
}
}
and apply pyramide.sh for all pictures in the folder.
For more info about how to implement js/panorama_list.js go here.
‣Dependencies:
•Different bash tools
•exiftool