Quantcast
Channel: Android
Viewing all articles
Browse latest Browse all 21933

Android Camera rotation problem

$
0
0
Hi,

I am trying to get the camera's rotation to rotate correctly. When its on the rear camera its ok but when i switch the the front camera the image is rotated correctly but needs flipping. I have tried to flip using the scale(-1,-1,-1) but that just makes the image upside down, but it will rotate correctly with the device rotates.

My code uses a rawImage for displaying the image

This does set the rotation correctly on the rear camera but not on the front camera its flipped so left is...

Android Camera rotation problem

Viewing all articles
Browse latest Browse all 21933

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>