Hello. I have been using LBPH algorithm for face recognition using the concept of confidence.

asked 2018-06-12 23:02:24 -0500

Kiran gravatar image

However, as i move away from the camera i am being said as unknown since the confidence value goes beyond the threshold. Can someone please let me know how to overcome this problem. Thank you in advance. My confidence threshold value is 55. So when i move away, the value comes in the range of 80 to 90

edit retag flag offensive close merge delete


it's a misnomer. what you actually get there is the chi-sqr distance between your test image and the closest from the database, so the opposite of confidence.

berak gravatar imageberak ( 2018-06-12 23:56:24 -0500 )edit

what are you using this for ? what are you trying to achieve ?

berak gravatar imageberak ( 2018-06-13 00:00:29 -0500 )edit

I want to create a security system using face ID. If an unknown person comes, the recognizer should say unknown and a person from d dataset should be recognized. I have been able to achieve till here so far bu t problem arises when a face is detected from away. In this case all known and unknown ppl are called as unknown due to the confidence value set.

Kiran gravatar imageKiran ( 2018-06-13 00:19:07 -0500 )edit

then is is probably the wrong tool, as it can only retrieve the closest known person from the db.

for several persons, rather try with the new dnn based openface network, it was trained with a triplet loss method, and is more robust at deciding "known" or "unknown".

for a single person, use the MACE filter (authentication problem)

and NO, please don't even try to build security systems, if you fail to do any proper academic research

berak gravatar imageberak ( 2018-06-13 00:25:11 -0500 )edit