I've been taking photos with a sports camera (a Replay XD1080, like a GoPro) on my bike and recording a GPX track with my phone. This is a great set up, because the camera is designed to be mounted on a bicycle's handlebars, is waterproof, and has a mode where it takes one photo every 3 seconds. I can correlate the pictures with the gpx track in JOSM using the Photo_geotagging (and photoadjust, if needed) plugins, but it does not set the compass angle in the image's exif tag, and mapillary goes ahead and assumes all images w/o a compass angle specified are facing north.... I thought I had seen an option somewhere to set the compass angle to follow the travel of the gpx track, which is a sensible feature, but can not find it anywhere now. I may have seen it somewhere other than JOSM, but if not JOSM it would have been in gottengeography or on the mappillary website itself, and have checked there too. How do I set the compass angle to follow the gpx track? asked 17 May '17, 19:32 keithonearth |
I use a similar setup with the mapillary_tools scripts. For setting the compass angle only, specify My work flow for geo-tagging photos and uploading them to mapillary is processing and uploading is usually the following (on Linux): Current version of mapillary_toolsInstallationRun the following commands for installing mapillary_tools:
Image ProcessingRun the following command for adding GPS information to your photo's EXIF tags:
Some explanations:
You can run UploadRun the following command to upload your photos: ~/.local/bin/mapillary_tools upload --verbose --advanced --skip_subfolders --number_threads 10 --max_attempts 10 --import_path "~/media/cam/" Old answer for old version of mapillary_tools (before release v0.0.0)
answered 17 May '17, 21:07 scai ♦ This looks like just what I was after! The only issue I can see is that the clock on the camera and the clock on the GPS may differ by as much as a couple of minuets. This places the images in the wrong place if I do not adjust the time on the photos. The JOSM plugins make this easy enough, and I get good geolocation tags in the image's exif tags. I think that a fully automated process would not allow me to adjust the time on the images.
(17 May '17, 22:30)
keithonearth
1
@keithonearth: The difference in clock can be corrected with the time-offset parameter of the first script. You can determine the difference by making a picture of the clock of your GPS (if that includes seconds), otherwise, make a waypoint at the same time you make a picture. I explain this in more detail in http://www.osm.be/2017/04/21/en-post-survey.html
(18 May '17, 04:19)
escada
It also helps to start the time lapse and the GPS recording at the same time. I also use JOSM to validate the geotagging of the photos after running
(18 May '17, 07:38)
scai ♦
|
I set it with the python script interpolate_direction.py from Mapillary. You can also use Javawa's fotogeotag answered 17 May '17, 21:40 ligfietser 1
Thanks! I found this script very helpful. especially as it works well with JOSM, which allows me to correlate with the gpx and tweak the locations in a program I'm familiar with.
(19 May '17, 07:24)
keithonearth
|
After uploading your sequence, once you get the notification it's available on Mapillary, edit sequence and click on NORMALIZE (it will adjust the bearing of the photo in relation to the next one). No script needed. Also for geotag I recommend GeoSetter, you can adjust timestamp with positive and negative values (which is extremely useful as you cannot sync HH:MM:SS between yours GPS/smartphone and the action camera (unless it's adjustable by the action cam app, as in GoPro Hero 5 or GoPro Session 5). answered 19 May '17, 11:46 lfttp |