First time here? Check out the FAQ!

Ask Your Question
0

OpenCV FaceRecognition prediction confidence values

asked Nov 20 '17

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.

Preview: (hide)

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 (Apr 9 '18)edit

1 answer

Sort by » oldest newest most voted
0

answered Nov 21 '17

berak gravatar image

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

Preview: (hide)

Question Tools

1 follower

Stats

Asked: Nov 20 '17

Seen: 1,092 times

Last updated: Nov 21 '17