Ask Your Question

Revision history [back]

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?