Ask Your Question

Revision history [back]

It looks like some issue of CameraBridgeViewBase implementation. I have reproduced the problem on Samsung GT-I9100 with Android 4.0.4 (CM) and add a ticket.

As a workaround you can inherit your own view class from any concrete implementation of CameraBridgeViewBase (JavaCameraView or NativeCameraView) and override calculateCameraFrameSize method. JavaCameraView class implements view with standard android java camera api. NativeCameraView class implements view with native OpenCV camera (VideoCapture).