The direction of the camera to capture the preview not sent 90 degrees clockwise rotation (Bug #4264)
Description
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"
!!