Mapillary 2.0 ? (opensource)

I found this project that has some SfM (open source but its not clear the license)


Another project, full open source, very simple and designed for walking trails:

And other related to walking trails:

For bluring faces and license plates:

In this mailing list thread there are people talking about build a open source street level imagery:


1 Like

Thanks for the links, I’ll look into that, especially your last one.

The darn thing is time, of which I have way to little this moment…

Most recent images: :grin:

Hi everyone!

I’m the founder of Trek View. I have also been working with Nick Whitelegg on OTV, also linked in @juanman’s post.

Our joint focus is on off-road 360 imagery and we have some plans for the next few months to ship some new features to our respective open-source code.

That said, for the most part, the underlying tech is similar, regardless of what is being captured (roads / paths / etc).

We use a lot of tools that already exist in some open-source form (e.g. ffmpeg for processing video files, exiftool for metadata, Pannellum for 360 viewing, opensfm for image transitions, etc.).

For us, the end destination after this processing is Mapillary and Open Trail View.

I am still a firm supporter (still) of Mapillary. They have done a lot for the industry (and continue to do so with integration into OSM). Don’t get me wrong, I get the anti-FB sentiment, but the sad truth is, hosting a platform like Mapillary is very expensive. For large tech companies spending 100k EUR / mo (or more) on hosting is nothing, for a private company this is a lot of money. The larger you are, the more it costs, which can make growing harder and harder.

It would be great to have a much clearer statement about Mapillary and FB’s intentions. I also know, having worked at companies that have been acquired, the road map is not always very clear. In many cases the acquired company/product disappears entirely within a year or two (this is my biggest fear)

All being said, I am all for working together on improved solutions (with openess and privacy at the core). I know many in the OSM community are having similar discussions around similar points to those raised in this thread.

How about we take this discussion away from Mapillary and into a public forum elsewhere (with the OSM community)? I’ll set this up today (probably a Slack team) – if you are interested in joining the discussion (all welcome, even if you’re not technical), please email me and I will send out an invite:


Hello everyone,

To follow up Dave’s post, I am the developer of OpenTrailView (OTV). This project is still in early stages but is likely to see significant further development in coming months.

OTV has a more specific focus than Mapillary, namely walking trails and 360 panoramas only, but the underlying software could potentially be used as a starting point to develop an open source street viewer tool.

OTV deals with the problem of connecting panoramas together using underlying OpenStreetMap data: nearby panoramas within a certain distance of the current panorama are found, and then routes calculated to each using GeoJSON Path Finder ( with OSM GeoJSON data.

Each route is associated with an OSM way leading from the current panorama (by grouping initial bearings to each) and the nearest panorama along each OSM way is selected.

Pannellum is used to display the panoramas.

The Gitlab repo is linked above, alternatively if anyone is interested in more details I can be contacted on



Hi Nick. Does your system have any “smart geo position correcting”?

Hi eesger, do you mean ‘snapping’ the panoramas to the OpenStreetMap data? If so, it does do that, yes: firstly, panoramas are inserted into OSM ways (to ensure the panos are on the routing graph), and, once the graph is generated, panos are further ‘snapped’ to junctions within 5 metres (I’m going to experiment with 10 metres as I sometimes get unsatisfactory results). This ensures that a panorama which is supposed to be on a junction is indeed on the junction so that the connectivity is correct.

hi, I tried your tool yesterday. Uploaded 10 images and they were nicely snapped on the pedestrian road. Interested in the algorithm: does it use a shortest path calculation to find feasible OSM ways to use for each of a string of images, or only ‘dumb’ snapping to the closest roadway?

I did a little test also, I’m not getting it :face_with_raised_eyebrow:

(I think I am expecting something different somewhere, somehow)

That “Wide Sight” looks seriously promising! (License: I get the impression that the developer mostly wants his name mentioned when you use his software ;))

The main benefit of SfM (in my opinion) is that it “stabilizes” images (pitch/yaw) and that it corrects GPS location (lat/lon) based upon image recognition (example: SfM sees sign A on image B and image C (etc.) and calculates that the yaw & pitch needs little of this and that the latitude & longitude needs a little of that). This automates and perfects date to a great extent. And most of all it improves the “walking around” experience! (check that little film I shared earlier)

Yes, I saw those as I moderated them yesterday. It does use a shortest path calculation… firstly, it finds all panoramas within a certain distance of the current one (500 metres I think, but I need to check) and then calculates a route (Dijkstra) to each. This is done with GeoJSON Path Finder which I mentioned in my original message. OSM data is downloaded from the server as GeoJSON and then converted to a graph using GeoJSON Path Finder.

If multiple panoramas are on the same route (have the same bearing) from the original, then the closest one is selected, and joined to the current panorama.

You will need to rotate your panoramas using the map interface so that the camera icon is pointng in the same diretion as the centre of the panorama.

Hi @eesger what did you do? There were some new panoramas uploaded this morning, e.g

Either of those look like yours?

Just to update: I’ve had two test uploads in the past 24 hours with the panos very close to each other, which have some issues with connectivity (generally, all panos submitted up to this point were at least 10 metres apart so the problem hasn’t arisen until now). I will need to investigate this bug - apologies for this. It should be easily resolved.

1340 is me. And my test were images quite close to each other (I was curious as hout the “pointers” would show on the pano)

See message above, close-together panos are causing some issues but should be straightforward to resolve, likely to be an artefact of snapping to the OSM way.

OK, I seem to have fixed this. Close-together panoramas are now linked correctly, at least the two sets uploaded today (IDs between 1303 and 1340).

The issue was actually not to do with the fact they were close together. It was that panoramas further than 5 metres from an OSM way were not being added to the routing graph. I have increased the limit to 10 metres and it’s now fine. @eesger @micmin1972 You will also need to rotate your panoramas using the map interface to ensure that the bearing (heading) of the camera icon corresponds to the direction of the bearing centre point of the image , as currently the link arrow is in the wrong place on the panorama.

Re face detection… not sure if anyone’s seen this:

Seems to work very nicely. Takes maybe 10-15 seconds to download the model but after that it seems pretty good at face detection. Tried a few photos of mine (both regular photos and panos),
I find you have to reduce the confidence a bit (down to around 0.2) but would be a start for pre-upload blurring and shifting some of the processing to the client.

Haven’t yet found a similar thing for license plates.

1 Like

I tried this and worked good for faces and license plates. Its memory hungry for big pictures. Only works with python 3.6 (I tried with newer versions and tests fail)

I’ll start a new thread for this topic

1 Like

I have had a nice talk / ‘brainstorm session’ with @nickw a few days back.
Also had a 11 hour brain draining workday…

But I’m full with ideas and I think all/most of the buildingblocks are there…
Also I’m sensing momentum here:)

When I find the time, I’ll work things out and get back to y’all.

PS @nickw, sent you some links & ideas over Skype

[EDIT] Thanks nick for that JS face detection link! That is awesome! That way I could make that part client side and save a sh.tload of cpu cycles :slight_smile:

For “mapillary 2.0” this is less suitable though. here we need “automation to the max” to make this workable. So for testing this could work, but in the end this’ll need to go server side

1 Like

Hi @eesger OK thanks, will check out your skype links.