Ask Your Question

Revision history [back]

I guess you are looking for a face recognizer, because most of them have a predict function which returns a distance to the predicted face (at least the ones from OpenCV). See FaceRecognizer predict function for the overview, and/or the book 'Mastering OpenCV with Practical Computer Vision Projects', chapter 8, which explains the face recognition with OpenCV, that you could easily adapt to Android.