Upside down camera preview byte array [duplicate] Upside down camera preview byte array [duplicate] android android

Upside down camera preview byte array [duplicate]


the camera sensor of the Nexus 5x and 6 are rotated 180 degrees. A lot of apps had this problem when the device was released. You should take this into account while creating a camera app and set your surface rotation accordingly.

For more information go tohttps://stackoverflow.com/a/35431231/1492034