Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to Capture Camera frames with hidden/Dummy Surfaceview in Android

Is there way i can create own NativeCameraView in Android Background Service and add this view to WindowManager in order to capture camera frames in Background. In Android we can create dummy SurfaceView and then adding it to WindowManager can create surface which in turn start video capture or camera preview but onPreviewFrame never gets called therefore i am wondering can we do similar thing using OpenCV since it has callback onCameraFrame.??

Any suggestion Appreciated