1 | initial version |
CameraBridgeViewBase
is base abstract class. You need to instantiate NativeCameraView
or JavaCameraView
object. Both of them uses OpenCV classes and functions and must be constructed after OpenCV initialization. I recommend you to use public JavaCameraView(Context context, AttributeSet attrs)
or public NativeCameraView(Context context, AttributeSet attrs)
constructor to fully initialize camera.