The direction of the camera to capture the preview not sent 90 degrees clockwise rotation (Bug #4264)


Added by 庄武 庄 almost 10 years ago. Updated almost 10 years ago.


Status:Cancelled Start date:2015-04-07
Priority:High Due date:
Assignee:Alexander Karsakov % Done:

0%

Category:android
Target version:2.4.11
Affected version:branch '2.4' (2.4-dev) Operating System:Windows
Difficulty:Easy HW Platform:x64
Pull request:

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"

!!


MainActivity.java (3.1 kB) 庄武 庄, 2015-04-07 01:43 pm

AndroidManifest.xml (1.6 kB) 庄武 庄, 2015-04-07 01:43 pm

activity_main.xml (711 Bytes) 庄武 庄, 2015-04-07 01:43 pm


History

Updated by Vadim Pisarevsky almost 10 years ago

duplicate

  • Status changed from New to Cancelled

Also available in: Atom PDF