# Upside-down images

**URL:** <https://forum.mapillary.com/t/upside-down-images/3451>\
**Category:** Introduction\
**Created:** [October 26, 2019, 4:01pm UTC](https://forum.mapillary.com/t/upside-down-images/3451 "2019-10-26T16:01:58Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![slashme](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/slashme/32/69209_2.png) [@slashme](https://forum.mapillary.com/u/slashme)\
**Post date:** [October 26, 2019, 4:01pm UTC](https://forum.mapillary.com/t/upside-down-images/3451/1 "2019-10-26T16:01:58Z")

</div>

I’m new to Mapillary. Ordered my bike mount just after SOTM and I now have about 5 thousand images.

Up to now, I’ve been going through the sequences, manually removing upside-down images, but I’m not sure whether that’s right. Is there any way to flag upside-down images in my sequences so that they can be fixed? Is there a bot that can figure out that the images are upside-down?

And also, why doesn’t the Android client lock the orientation of the camera once the “record” button is pressed?

---

<div class="post-metadata">

**Author:** ![filipc](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/filipc/32/1103_2.png) [@filipc](https://forum.mapillary.com/u/filipc)\
**Post date:** [October 26, 2019, 5:51pm UTC](https://forum.mapillary.com/t/upside-down-images/3451/2 "2019-10-26T17:51:39Z")

</div>

The answer is in the forum.

---

<div class="post-metadata">

**Author:** ![c64](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/c64/32/69184_2.png) [@c64](https://forum.mapillary.com/u/c64)\
**Post date:** [October 26, 2019, 6:43pm UTC](https://forum.mapillary.com/t/upside-down-images/3451/3 "2019-10-26T18:43:31Z")

</div>

Welcome @slashme  
Unfortunately there is no fix for the moment.  
[http://mapillary.trydiscourse.com/t/upside-down-images-when-automatically-fixed/2901](http://mapillary.trydiscourse.com/t/upside-down-images-when-automatically-fixed/2901)

---

<div class="post-metadata">

**Author:** ![slashme](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/slashme/32/69209_2.png) [@slashme](https://forum.mapillary.com/u/slashme)\
**Post date:** [October 26, 2019, 7:30pm UTC](https://forum.mapillary.com/t/upside-down-images/3451/4 "2019-10-26T19:30:08Z")

</div>

Thank you! I have uploaded a few upside-down images. What should I do with them? And should I in future delete the upside-down images before uploading?

---

<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:** [October 26, 2019, 7:52pm UTC](https://forum.mapillary.com/t/upside-down-images/3451/5 "2019-10-26T19:52:15Z")

</div>

you could download the originals and flip them. maybe if you report them someone from mapillary can flip them for you.  
I’d suggest deleting them, and maybe mounting the phone a bit differently in the future

---

<div class="post-metadata">

**Author:** ![slashme](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/slashme/32/69209_2.png) [@slashme](https://forum.mapillary.com/u/slashme)\
**Post date:** [October 26, 2019, 8:46pm UTC](https://forum.mapillary.com/t/upside-down-images/3451/6 "2019-10-26T20:46:33Z")

</div>

The problem isn’t how the phone is mounted: I’m using the bike mount that I got from mapillary. Based on the thread linked above it’s a general problem with the android client: whenever the phone is shaken, which will always happen when a bike hits a bump in the road, no matter how the phone is mounted, it can’t tell which way is up, so every now and then a photo will be taken upside down.

Two things need to be done:

1. there has to be a fix where the orientation of the pictures doesn’t depend on the phone’s accelerometer. This affects the android client and might be difficult, depending on how the photos are handled by the operating system.

2. there needs to be an option for users to flag photos for rotation. I’ve looked at the web interface, and I can’t figure out how to do this.

---

<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:** [October 26, 2019, 9:18pm UTC](https://forum.mapillary.com/t/upside-down-images/3451/7 "2019-10-26T21:18:54Z")

</div>

it’s not exclusive to android, and I think a different mounting angle might actually help.  
There used to be (still is?) an option in the app to rotate pictures, nothing on the web

---

<div class="post-metadata">

**Author:** ![micmin1972](https://avatars.discourse-cdn.com/v4/letter/m/59ef9b/32.png) [@micmin1972](https://forum.mapillary.com/u/micmin1972)\
**Post date:** [October 28, 2019, 9:23am UTC](https://forum.mapillary.com/t/upside-down-images/3451/8 "2019-10-28T09:23:05Z")

</div>

I solved my upside-down issue by installing an old version of the Mapillary app (3.14 or 3.27) on my new phone

---

<div class="post-metadata">

**Author:** ![thanar](https://avatars.discourse-cdn.com/v4/letter/t/a3d4f5/32.png) [@thanar](https://forum.mapillary.com/u/thanar)\
**Post date:** [February 15, 2020, 7:48pm UTC](https://forum.mapillary.com/t/upside-down-images/3451/9 "2020-02-15T19:48:21Z")

</div>

I really don’t get it. Mapillary is a platform that’s supposed to be enchanted with NN and AI and stuff. Wouldn’t it be super easy to automatically rotate the upside down images?

---

<div class="post-metadata">

**Author:** ![filipc](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/filipc/32/1103_2.png) [@filipc](https://forum.mapillary.com/u/filipc)\
**Post date:** [February 15, 2020, 9:03pm UTC](https://forum.mapillary.com/t/upside-down-images/3451/10 "2020-02-15T21:03:31Z")

</div>

They cannot even let us do it manually. They prefer to spend their money otherwise.

---

<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:** [February 16, 2020, 8:06pm UTC](https://forum.mapillary.com/t/upside-down-images/3451/11 "2020-02-16T20:06:18Z")

</div>

If useful - I had an upside down mounted webcam for a while. Part of the processing was;

mogrify -flip -flop \*jpg

This rotates all the image in a directory 180 deg without affecting the EXIF tags.

---

<div class="post-metadata">

**Author:** ![cageythree](https://avatars.discourse-cdn.com/v4/letter/c/c4cdca/32.png) [@cageythree](https://forum.mapillary.com/u/cageythree)\
**Post date:** [April 17, 2020, 11:42pm UTC](https://forum.mapillary.com/t/upside-down-images/3451/12 "2020-04-17T23:42:17Z")

</div>

So sounds like a problem due to the recognized rotation to me? If you’re right it should be easy to be worked around.

Solution 1: Turn on auto-rotation, rotate the phone to the side, then turn it off again. If you’re lucky it stays landscape, but some phones switch back to portrait even if being held landscape.

Solution 2: On Android 10 (not sure about previous versions), when you rotate the device with auto-rotate off, it shows 2 little arrows in the bottom left of the screen (on the navigation button bar). That temporarily rotates the current app and locks it like that until you exit it or rotate the phone back and hit the button again.

Solution 3: Install the app “Rotation Control” from the Play Store. It forces the chosen rotation on a system wide basis. The rotation can be switched from the notification panel.

Aside from that, have you tried enabling the “pause capturing on shake” option in Mapillary? I guess this is there for just this purpose; pausing the recording if the acceleration sensor exceeds value X, and thus not taking upside-down pictures caused by heavy shaking on bumpy roads.

---

<div class="post-metadata">

**Author:** ![micmin1972](https://avatars.discourse-cdn.com/v4/letter/m/59ef9b/32.png) [@micmin1972](https://forum.mapillary.com/u/micmin1972)\
**Post date:** [May 26, 2020, 11:39pm UTC](https://forum.mapillary.com/t/upside-down-images/3451/13 "2020-05-26T23:39:42Z")

</div>

issue is that only 1 on 20 pictures randomly is upside down due to sudden bike movements (bad road surface) so its not that a solution to rotate all images at once before uploading.

(as suggested by someone else, the app should keep the orientation from start recording and not flip 180 degrees, ignore vertical movements observed by the phone during that sequence recording)

---

<div class="post-metadata">

**Author:** ![slashme](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/slashme/32/69209_2.png) [@slashme](https://forum.mapillary.com/u/slashme)\
**Post date:** [October 23, 2020, 12:02pm UTC](https://forum.mapillary.com/t/upside-down-images/3451/14 "2020-10-23T12:02:38Z")

</div>

It’s not about the recognised rotation: I have auto-rotate off.

Because I’m on a bicycle on roads that aren’t perfectly smooth, “pause capturing on shake” would mean that I get basically no pictures at all. All the app has to do is to assume a fixed orientation. Once the capture starts, the phone isn’t turning upside down every now and then, so the “feature” of detecting the orientation of each photo is worse than useless.
