Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

private CameraBridgeViewBase mOpenCvCameraView;

in onManagerConnected of BaseLoaderCallback just set the index

mOpenCvCameraView.setCameraIndex(1);

Hint,its ok for debug, but for release, check number of cameras available, not every device has front face camera.