Ask Your Question
0

How to set lbph threshold

asked 2017-06-11 23:39:07 -0500

I am trying to match a given face with a database of faces using lbph face recognition algorithm i have read all the related questions but could not find a way to set or calculate appropriate threshold value to get the result weather face is matched or not matched.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-06-12 00:03:31 -0500

berak gravatar image

updated 2017-06-12 00:06:01 -0500

you can set the threshold value from the create function, e.g.here

to find a good number there, you have to experiment, collect the confidence values from predict() for a few "same" and "not-same" person values, and pick a value between the worst "same" and the best "not-same" confidence (which is actually a distance, so smaller==better)

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2017-06-11 23:39:07 -0500

Seen: 551 times

Last updated: Jun 12 '17