You are not logged in.

Announcement

*** NOTICE: forum.openstreetmap.org is being retired. Please request a category for your community in the new ones as soon as possible using this process, which will allow you to propose your community moderators.
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***

#1 2015-06-12 14:36:15

rmikke
Moderator
From: Warszawa
Registered: 2014-11-14
Posts: 2,032
Website

Video to Mapillary

Is there a tool to feed Mapillary from video file?

I have seen this tutorial, but I really can't spend so much time after every ride with camera.

It would be GREAT to have a tool (software or maybe page) that would just take video and GPX and then:
* allow to adjust time (offset between GPS time and camera time)
* extract a frame for every 50 meters or so (possibly selecting frames that are not blurred from movement), automatically adding time of frame in exif and direction from GPX (may require setting camera direction relative to car/bike), optionally aligning GPS position to road.
*upload the extracted images to Mapillary

That should not be VERY hard to code, as there is no image recognition (except for deciding if the image is blurred, that can be replaced by extracting a few neighbouring frames for each position and letting the user choose...).

There are additional options that could be added later, when someone is able to write image analysis software:
* support for helmet cameras, detecting and discarding frames where the user looks sideways,
* comparing the video with gpx and setting offset automatically according to turns,
* detecting some traffic signs and setting speed limits on OSM respectively,
* detecting information tables and adjusting town boundaries accordingly,
* and, most probably, many more.

Offline

#2 2015-06-12 14:47:23

rmikke
Moderator
From: Warszawa
Registered: 2014-11-14
Posts: 2,032
Website

Re: Video to Mapillary

Oh, and one more option, that does NOT require image analysis:

If there are already some images of the road, it could suggest riding it with different relative camera direction, then extract images at exactly the same places, that prevous images. After a few rides we could have a 360 view in these points.

Offline

#3 2015-06-12 14:57:03

travel193
Member
Registered: 2015-01-28
Posts: 8

Re: Video to Mapillary

I'm working on this wiki to find the best workflows for all things Mapillary so hopefully soon we will have a better video upload process for cameras that don't have built in GPS. https://github.com/mapillary/UserGuide

The manual uploader for video files will keep getting better and better so stay tuned.

Last edited by travel193 (2015-07-13 13:40:32)

Offline

#4 2015-06-12 15:07:57

rmikke
Moderator
From: Warszawa
Registered: 2014-11-14
Posts: 2,032
Website

Re: Video to Mapillary

travel193 wrote:

Hi Rmikke,

What is your current workflow to upload from video?

None, I just wanted to start... I'm usually riding with camera "just in case" for some time, and I wanted to make some additional use of this.

Last edited by rmikke (2015-06-12 15:09:40)

Offline

#5 2015-06-12 15:09:34

travel193
Member
Registered: 2015-01-28
Posts: 8

Re: Video to Mapillary

Ok understood.

Are you using a GoPro or similar action camera?
I'll get started on the best workflow for general needs soon.

Offline

#6 2015-06-12 15:10:29

rmikke
Moderator
From: Warszawa
Registered: 2014-11-14
Posts: 2,032
Website

Re: Video to Mapillary

travel193 wrote:

Ok understood.

Are you using a GoPro or similar action camera?.

Yup. Veho Muvi K2.

Offline

#7 2015-06-12 15:11:40

travel193
Member
Registered: 2015-01-28
Posts: 8

Re: Video to Mapillary

Ok thanks.

Offline

#8 2015-06-17 06:09:11

ligfietser
Member
Registered: 2008-10-09
Posts: 5,353
Website

Re: Video to Mapillary

Offline

#9 2015-06-17 06:25:50

rmikke
Moderator
From: Warszawa
Registered: 2014-11-14
Posts: 2,032
Website

Re: Video to Mapillary

ligfietser wrote:

Wow. This I will surely try out. So interesting, wow. wink

Strange thing, I could not google it. Maybe because I really didn't want to upload a video itself, but rather automatically extract frames and upload them, so I avoided phrase "upload video" while searching...

Offline

#10 2015-06-20 01:37:44

rmikke
Moderator
From: Warszawa
Registered: 2014-11-14
Posts: 2,032
Website

Re: Video to Mapillary

rmikke wrote:
ligfietser wrote:

Wow. This I will surely try out. So interesting, wow. wink

OK, so I have tried. I have uploaded a video on Thursday and four on Friday, all with apropriate gpx files. Everything went OK, but I can see no sign they are uploaded. Not even some "one video uploaded and in processing", nothing. Is this normal? How long it takes to process a video?

Offline

#11 2015-06-20 07:40:37

travel193
Member
Registered: 2015-01-28
Posts: 8

Re: Video to Mapillary

Hi rmikke,

Did you receive any emails at the account you signed up with? Their should be an email notification to inform you they are being processed and again when processing has been complete.

Offline

#12 2015-06-20 10:34:06

rmikke
Moderator
From: Warszawa
Registered: 2014-11-14
Posts: 2,032
Website

Re: Video to Mapillary

travel193 wrote:

Hi rmikke,

Did you receive any emails at the account you signed up with? Their should be an email notification to inform you they are being processed and again when processing has been complete.

I have only received an email for a changeset I requested for someone else's track.

Offline

#13 2015-06-21 15:06:53

rmikke
Moderator
From: Warszawa
Registered: 2014-11-14
Posts: 2,032
Website

Re: Video to Mapillary

rmikke wrote:
ligfietser wrote:

Wow. This I will surely try out. So interesting, wow. wink

Oooookay, so I uploaded a video Thursday night, bit my nails for two days, as there was not a single sign that a video has been uploaded, the YES!!!
I got an email, that my PHOTO is uploaded!!! Yay!!!

Of course I have had to check, how does it look. Well, not too well. Only first frame of the video is uploaded and it is placed at the end of gps track, not at the beginning. Surely not the outcome I have expected.

This is the link to what has been uploaded: http://www.mapillary.com/map/im/4wdGTrH8wzfaJ3dL8H6WPg

Offline

#14 2015-07-13 13:53:55

travel193
Member
Registered: 2015-01-28
Posts: 8

Re: Video to Mapillary

Hi rmikke,

I just saw your issue with uploading sequences from video captured with the Veho Muvi K2.
I've posted an issue for it here: https://github.com/mapillary/mapillary_ … ssues/1155. You can subscribe for updates.

The computer vision team will have to calibrate the camera. In terms of the GPS, how are you recording your GPS tracks?

Offline

#15 2015-07-14 11:28:35

rmikke
Moderator
From: Warszawa
Registered: 2014-11-14
Posts: 2,032
Website

Re: Video to Mapillary

travel193 wrote:

In terms of the GPS, how are you recording your GPS tracks?

Garmin GPSMap 60 CSx, and I have already posted an issue on it. On Garmin GPX files in general, I believe.

Offline

Board footer

Powered by FluxBB