Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Threshold setting #28

Open
kolin4099 opened this issue Jul 11, 2018 · 1 comment
Open

Threshold setting #28

kolin4099 opened this issue Jul 11, 2018 · 1 comment

Comments

@kolin4099
Copy link

Hi, David.
Can you tell me why you set the threshold as 0.6 and the percentage threshold as 70?
I knew the "threshold" in FaceNet which is used to distinguish faces are from the same person or not, but it seems that the "threshold" in your program is different.
Can you tell me why you set two different thresholds?

And one more question.
I saw the equation in your source code main.py :
percentage = min(100, 100 * thres / smallest)
I downloaded your source code and it worked well for me.
I wonder why the real-time face recognition can work well by using this equation.
Is there something like principle to explain it?
Looking forward to your reply. :)

@Firdauzfan
Copy link

http://dataaspirant.com/2015/04/11/five-most-popular-similarity-measures-implementation-in-python/

I think the real equation for checking the similiarity of face is the ecluidean distance, that check similiarity vector from realtime face recognition and with the vector data of our trained face before.
That equation "percentage = min(100, 100 * thres / smallest)" is for showing percentage of similiarity that system recognize the face based on our trained data.

CMIIW.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants