I'm currently developing an app which need to record video in background and process it.
(It needs to get camera preview data real-time in background and have to image process the preview data)
However, to achieve it, I need to use Camera and OpenCV as Service, and it seems that it is impossible to use JavaCameraView in OpenCV and Android.Hardware.Camera without using any preview.
Here are my questions.
I heard that NativeCamera in OpenCV can be used for this purpose. Is it possible? (Possibly with examples?)
Is there any method that I can use JavaCameraView(or similar stuff) for this purpose? I currently use Galaxy S4.
Is there any possible workarounds if android doesn't support such method?(Using Camera Preview without any surface view, or Process camera data without using preview)
(OPTIONAL)Why the android doesn't support such operation? It is very annoying!
Thank you for answering the question.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…