Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenCV JavaCameraView is not full screen

I defined a camera view in .xml user interface file using opencv Camera view like this :

 <org.opencv.android.JavaCameraView
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:visibility="visible"
        android:id="@+id/tutorial1_activity_java_surface_view"
         />

Although I set width and height to be as large as parent and parent is full-screen but my captured frame is really small, some thing like 200*300 pixel. How can I get bigger frame?

OpenCV JavaCameraView is not full screen

I defined a camera view in .xml user interface file using opencv Camera view like this :

 <org.opencv.android.JavaCameraView
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:visibility="visible"
        android:id="@+id/tutorial1_activity_java_surface_view"
         />

Although I set width and height to be as large as parent and parent is full-screen but my captured frame is really small, some thing like 200*300 150*200 pixel. How can I get bigger frame?