Forum Xamarin.Forms
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Xamarin.Android Camera output doesn't always have the correct orientation

RyanDaumRyanDaum USUniversity

When taking a picture with the camera (using Xlabs) sometimes the camera flips the picture 180 degrees. I can't seem to either detect or stop it. The only fix is to shake the phone or tilt it far enough forwards and then backwards to have the hardware detect a shift (though I don't have to tilt it enough to trigger a screen refresh / activity re-create process).

Note that the picture is always facing the correct way when the picture is taken, it is the output that sometimes is flipped 180 degrees.
When using OCR-based services, they seem to get touchy when a picture is upside-down. I don't know how to detect this, so that I can flip it automatically - any thoughts?


Sign In or Register to comment.