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