Ask Your Question

Revision history [back]

OpenCV - Android increase FPS face detection

So I've been trying to increase the FPS with OpenCv JavaCameraView with 1280x960 as resolution. I've been trying to find a solution to this but with no luck. I am only getting 3 FPS when trying to do face-eye detection. I am using JNI to compile native c++ code for OpenCV with haarcascade. Is there any way to increase this? or is OpenCV just not suited for this task?

Any suggestions would be appreciated.

I am using this part for the JNI; https://docs.opencv.org/2.4/doc/tutorials/objdetect/cascade_classifier/cascade_classifier.html

And this for the Java camera part; https://gist.github.com/wllmtrng/e874c1b59b3add14bade