Ask Your Question
0

OpenCV FaceRecognition prediction confidence values

asked 2017-11-20 10:23:53 -0600

DJL12 gravatar image

I'm working with a FaceRecognition algorithm using LBPH, and my code works perfectly (using Python).

What is bothering me is the prediction values. Through my code I get the confidence value, and I put that value on the screen. Usually that number varies from 30-75 from known people, and 120 -180 from unknown people.

I know that a high value means that the input image and the training image are not the same person. And values clos to 0 are better.

My question is: ¿How is calculed the prediction confidence value? (the distance between the images)

Is it just euclidean distance? or another method?

PD: Sorry for my bad english. PD2: I know there are some similar question but none answer which method is used to calculate the distance between the images.

edit retag flag offensive close merge delete

Comments

I have a question for you. Question: Is your code work perfectly with unknown faces or not please reply asap

Matloob Ahmed gravatar imageMatloob Ahmed ( 2018-04-09 16:08:35 -0600 )edit

1 answer

Sort by » oldest newest most voted
0

answered 2017-11-21 01:28:49 -0600

berak gravatar image

for lbph, chi-sqr distance is used, for fisher & eigen, L2.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-11-20 10:22:03 -0600

Seen: 1,068 times

Last updated: Nov 21 '17