1 | initial version |
unfortunately, you can't use the opencv-facerecognition from java yet. (but hopefully soon - got a pull request running for this)
"I have the source code to prove it" - i got that code, too ;)
face detection is the first step you want, anyway, then crop the face-rect, resize to some fixed size, say 90x90, equalizeHist(), and then save it to sdcard.
ofc., if you're good with jni/ndk, you can build your own wrappers for the c++ facerecognition.
if not so, i'd suggest, you use a plain norm(a,b,NORM_L2) for the comparison for now, and swap that part against the real facereco, once it's available