# Fisheye distortion removal not working?

**URL:** <https://forum.mapillary.com/t/fisheye-distortion-removal-not-working/3269>\
**Category:** Website\
**Created:** [August 20, 2019, 8:04pm UTC](https://forum.mapillary.com/t/fisheye-distortion-removal-not-working/3269 "2019-08-20T20:04:56Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![4004](https://avatars.discourse-cdn.com/v4/letter/4/bbce88/32.png) [@4004](https://forum.mapillary.com/u/4004)\
**Post date:** [August 20, 2019, 8:04pm UTC](https://forum.mapillary.com/t/fisheye-distortion-removal-not-working/3269/1 "2019-08-20T20:04:56Z")

</div>

So, I remember there being a component of the web viewer that undistorted lens effects such as fisheye on gopro. It seemed to have worked on older photos.  
However here for example

> **[Mapillary](https://www.mapillary.com/app?pKey=211971453859673)**
>
> Mapillary is the street-level imagery platform that scales and automates mapping using collaboration, cameras, and computer vision.

it doesn’t seem to be working.  
Or is this the image being broken?

---

<div class="post-metadata">

**Author:** ![eesger](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/eesger/32/68925_2.png) [@eesger](https://forum.mapillary.com/u/eesger)\
**Post date:** [August 20, 2019, 8:09pm UTC](https://forum.mapillary.com/t/fisheye-distortion-removal-not-working/3269/2 "2019-08-20T20:09:31Z")

</div>

The nly thing I can think of is that the lens/image settings (EXIF) are not correct

---

<div class="post-metadata">

**Author:** ![4004](https://avatars.discourse-cdn.com/v4/letter/4/bbce88/32.png) [@4004](https://forum.mapillary.com/u/4004)\
**Post date:** [August 20, 2019, 8:24pm UTC](https://forum.mapillary.com/t/fisheye-distortion-removal-not-working/3269/3 "2019-08-20T20:24:27Z")

</div>

I’d guess it’s default gopro - mapillary give them out, surely they know the exif of these

---

<div class="post-metadata">

**Author:** ![bob3bob3](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/bob3bob3/32/68393_2.png) [@bob3bob3](https://forum.mapillary.com/u/bob3bob3)\
**Post date:** [August 21, 2019, 10:58pm UTC](https://forum.mapillary.com/t/fisheye-distortion-removal-not-working/3269/4 "2019-08-21T22:58:57Z")

</div>

I was under the impression that the GoPro (and BlackVue) camera/lens ID (and thus correction) was set in the special Mapillary EXIF tag by (in my case) mapillary\_tools arguments;

–device\_make “Blackvue” --device\_model “DR900S-1CH”  
–geotag\_source “gopro\_videos”

My uploads (I think) get corrected some time after the original upload, more than a few weeks possibly.

There is a note about 3D geometry and correction in the tools README.md

This is of course the “video mode”, not those captured as single images. (This is also a deprecated method)

---

<div class="post-metadata">

**Author:** ![pkoby](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/pkoby/32/555_2.png) [@pkoby](https://forum.mapillary.com/u/pkoby)\
**Post date:** [August 22, 2019, 12:54am UTC](https://forum.mapillary.com/t/fisheye-distortion-removal-not-working/3269/5 "2019-08-22T00:54:50Z")

</div>

Your original image appears to not have any fisheye distortion (Click the … icon, “download image”). So perhaps the algorithm detects that it’s a GoPro and processes to undistort it. I would think that Mapillary would be able to detect what original view the camera was set to, but I’m not sure.

Somewhere (I cannot for the life of me find it again), Mapillary themselves listed the best settings for the GoPro with their platform. Specifically, the lens distortion should be set to ‘medium’, not ‘linear’. If that’s what yours is set to, it might be the cause of the issue.

Compare this image of mine: [Mapillary](https://www.mapillary.com/app/?focus=photo&pKey=PSEKgxhZG9InjEEWitmhKA&tab=uploads&lat=38.41166426426429&lng=-82.59813696086832&z=17&x=0.5036146766551065&y=0.3032840246662793&zoom=0) When you download the original, you can see the telephone poles on the side are curved, compared to the Mapillary viewer where they’re straight.

EDIT to add: I use some pretty old Mapillary tools that don’t add any EXIF tags, so…

---

<div class="post-metadata">

**Author:** ![4004](https://avatars.discourse-cdn.com/v4/letter/4/bbce88/32.png) [@4004](https://forum.mapillary.com/u/4004)\
**Post date:** [August 22, 2019, 12:12pm UTC](https://forum.mapillary.com/t/fisheye-distortion-removal-not-working/3269/6 "2019-08-22T12:12:18Z")

</div>

thanks, that might be the reason.  
I’ll comment on one of the images to see if the author can be persuaded to change the settings
