Ask Your Question

Revision history [back]

NativeCameraView uses OpenCV VideoCapture class for camera access. You can use it without any visible surface. NativeCameraView class is designed for using in activities and handle different view events, i.e. construction, destruction, change, etc. You need to write your own code that initialize camera and grab frames. You can use NativeCameraView.connectCamera, NativeCameraView.disconnectCamera, NativeCameraView.initCamera and NativewCameraView.run methods as reference.