-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
The direction of the camera to capture the preview not sent 90 degrees clockwise rotation #4963
Copy link
Copy link
Closed
Labels
affected: 2.4EOL - not supported anymoreEOL - not supported anymoreauto-transferredbugplatform: android
Milestone
Description
Transferred from http://code.opencv.org/issues/4265
|| 庄武 庄 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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
affected: 2.4EOL - not supported anymoreEOL - not supported anymoreauto-transferredbugplatform: android