Why does the camera preview rotate 90 degrees in the Android emulator?

I connected the webcam to the emulator, and I always see that the camera is rotated 90 degrees.

Scanner barcode demo application

I just set "Webcam0" as the device to be used as the back camera in the emulator.

Background: I am trying to fix a problem with an application that I am developing that uses ZXing: it cannot scan some QR codes on certain devices, and I am wondering if this has anything to do with what I see on the emulator.

, , , . , , , QR- (.. QR- , ).

, ?

+4

Source: https://habr.com/ru/post/1626851/


All Articles