Ask Your Question
0

Setting the Thresholds in FaceRecognizer

asked 2017-05-13 09:04:35 -0600

williamluisan gravatar image

Hello guys, i'm a newbie in computer vision, i want to ask a question about why

Sometimes you run into the situation, when you want to apply a threshold on the prediction

? what is this threshold for ?. I'hv been read this explanation at http://docs.opencv.org/2.4/modules/co... "Setting the threshold", and it didn't explain why somtimes we need to setting the threshold for prediction. Since i know, thresholding is a method that create a binary image from grayscale image, why this threshold can determine whether a input face belongs to the training set or it is an unknown face?

Sorry for my bad english and my dumb question perhaps :D. Big regards.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2017-05-14 04:18:13 -0600

berak gravatar image

it's not about thresholding images, but about setting a maximal threshold number for the prediction distance.

if the found distance from the prediction distance is larger, than your threshold value, the prediction willl return -1 (for not regognized) as id.

(understandable confusion, but threshold can mean a couple of things in cv)

edit flag offensive delete link more

Comments

Thank you for your answer Mr. Berak. It helping me so much (y) !

williamluisan gravatar imagewilliamluisan ( 2017-05-15 00:27:11 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2017-05-13 09:04:35 -0600

Seen: 258 times

Last updated: May 14 '17