Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Camera capture in background

Hello everyone, I'm using openCV for face detection on Android in my application because Android's FaceDetection API [1] is not working on some devices.

For now, everything is working as expected (I have to tweak it a little to reduce false positives, but that's no problem), but I'd like to now if it could be possible to keep grabbing frames even when I lock the phone. I guess that with Android's camera capture it is not possible because, but what about openCV's VideoCapture?

Thank you all

Camera capture in background

Hello everyone, I'm using openCV for face detection on Android in my application because Android's FaceDetection API [1] is not working on some devices.

For now, everything is working as expected (I have to tweak it a little to reduce false positives, but that's no problem), but I'd like to now if it could be possible to keep grabbing frames even when I lock the phone. I guess that with Android's camera capture it is not possible because, but what about openCV's VideoCapture?

Thank you all

[1] http://developer.android.com/reference/android/hardware/Camera.FaceDetectionListener.html