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?

Thanks

Sign In or Register to comment.