Ask Your Question
0

OpenCV4Android 3.1.0 JavaCameraView FullScreen and Portrait

asked 2016-01-08 11:23:37 -0600

I am very new to OpenCV, trying it for the first time. I ran the Tutorial3CameraControl, camera preview was fine portrait and full screen, when I integrate the same code in my project, I somehow get the camera in landscape mode and its not full screen. I get it this question has been asked quite a few times, but none of the solutions were helpful. I want my application to open up org.opencv.JavaCameraView in full screen portrait mode. Could someone please help me?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-07-28 05:23:01 -0600

add below code in manifest.

        android:screenOrientation="landscape"
        android:configChanges="keyboardHidden|orientation"
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-01-08 11:23:37 -0600

Seen: 1,659 times

Last updated: Jan 08 '16