1 | initial version |
If i understand well, you can try2 things:
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.
2 | No.2 Revision |
If i understand well, you can try2 things:try this:
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.