Ask Your Question

Revision history [back]

You need to create layout with two JavaCameraViews with different camera indices and call setCvCameraViewListener to both of them. I recommend you to use two separate CvCameraViewListener/CvCameraViewListener2 implementations for cameras to eliminate conflicts. Also, The opportunity to work with both cameras in the same time depends on Android camera hardware and software stack. I do not sure that it works with all double-camera devices.