Opencv versions and face recognition in android
I am getting confused with opencv versions for android and for other platforms, and the facerecognition methods availability.
As of August 2016, latest opencv available is 2.4.13. But for android, the version is 2.4.11.
But in 2.4.11, the facerecognition is available in experimental stuff category. Because in the header of page, it is in category of
OpenCV 2.4.11.0 documentation » OpenCV API Reference » contrib. Contributed/Experimental Stuff » FaceRecognizer - Face Recognition with OpenCV »
- When I imported the 2.4.11 java module in android project, I was not able to create Facerecognizer object.
Example
FaceRecognizer fr = createFisherFaceRecognizer()
The above code gave error. It could not resolve createFisherFaceRecognizer();
- I even tried to use the opencv 3.1.0 for android, but in that, I was not able to find the facerecognizer class itself.
So in conclusion, as of Aug 2016, we have to use wrappers like JAVACV for face recognition projects in android. Is it correct conclusion?
unfortunately that's still true for 2.4.
Oh thanks berak :-). Is the android version planned anytime soon for 2.4 in roadmap of opencv? . I tried to find a roadmap for opencv, but couldn't find it. And can you please suggest what alternative do we have if we want to use opencv in android except JavaCV ?
(The guy who asked question is one of my friend. We were planning to use opencv in android application)
2.4 is last years model anyway. you could try to write your own createXXXFaceRecognizer() from jni (no fun)
you could try to move over to opencv3, rebuild the sdk with opencv_contrib repo, and try to enable the face reco for java there (no fun either...)
then, maybe rethink the whole concept. what are you using the facereco for, exactly ?
(if you're trying to build some log-in mechanism, it might be the wrong tool, anyway.)
then, maybe put the facereco on some central server, and let the android app be just a shallow client for that ? (bytefish has such a thing on github)
Thank you berak. We will definitely consider your suggestions.