You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The direction of the camera to capture the preview not sent 90 degrees clockwise rotation #4963
|| 庄武 庄 on 2015-04-07 11:43
|| Priority: High
|| Affected: branch '2.4' (2.4-dev)
|| Category: android
|| Tracker: Bug
|| Difficulty: Easy
|| PR:
|| Platform: x64 / Windows
The direction of the camera to capture the preview not sent 90 degrees clockwise rotation
I have modified the official sample program, but I found out that my picture when I installed on a mobile phone preview of the interface is not what I expected, is the longitudinal preview, vertical shooting, with my mobile phone in the mobile phone screen is horizontal structure, interface is horizontal, it is not a full screen, I'd like to longitudinal preview the camera to capture images, just to longitudinal preview, could you tell me how to modify my program?
I modified the official program is OpenCV Tutorial 1 - Camera Preview:
Which modified the AndroidManifest. XML content is as follows:
@ android:screenOrientation="portrait"
android:configChanges="keyboardHidden|screenSize"@
!!
History
Stephen G on 2015-05-06 17:20
Operating system and HW platform are wrong for this bug
Activity