Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

If i understand well, you can try2 things:

  1. Define JavaCameraView like you do but change the height to 0:

            <org.opencv.android.JavaCameraView
                android:id="@+id/HelloOpenCvView"
                android:layout_width="fill_parent"
                android:layout_height="0dp"
                android:visibility="invisible" 
                opencv:camera_id="any"
                opencv:show_fps="false" />
    

This is work for me.

If i understand well, you can try2 things:try this:

  1. Define JavaCameraView like you do but change the height to 0:

      <org.opencv.android.JavaCameraView
                 android:id="@+id/HelloOpenCvView"
                 android:layout_width="fill_parent"
                 android:layout_height="0dp"
                 android:visibility="invisible" 
                 opencv:camera_id="any"
                 opencv:show_fps="false" />
    

It just disapear the camera view but you can still work normaly. This is work for me.