gv22ga / dlib-face-recognition-android

Android app to demo dlib face recognition
MIT License
148 stars 50 forks source link

recognize error #8

Open Prasad2018 opened 6 years ago

Prasad2018 commented 6 years ago

Hi, I found an error in your project when a new user come to recognize mode and scan show wrong result(some times)..please help me.

liaoweiguo commented 6 years ago

The app set threshold 0.6, it's too much for face recognize, sometimes return two or more names for one face. my solution is to modify the threshold to 0.5 and when lib get more than one results, select the best one (by compare confidence, witch the author NOT return)

krishnamurthy12 commented 6 years ago

@liaoweiguo where we can change threshold value? can you explain me with code please?

Ratnadeep22 commented 6 years ago

You have to change in the file (https://github.com/gv22ga/dlib-face-recognition-android/blob/master/jni/jni_recognition/recognizer.h#L181) and build it again

PoojaPragyan commented 5 years ago

when we can import project "dlib-face-recognition-app" only and jni is out of this then how to update 0.5 in threshold?

PoojaPragyan commented 5 years ago

where should i use jni in project if I am importing "dlib-face-recognition-app" this one only?