You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can do that if you find it helpful to think of things that way. But keep in mind that the scale isn't exactly linear like that.
The best way to think of it is that a smaller number is less difference and that anything under the threshold you define is a "match". A "85% match" isn't necessarily better than a "80%" match.
The default threshold is 0.6 or lower face distance is a match. You can use a more strict (lower) threshold if you want by passing in a parameter to the compare_faces() function call.
There's not really a concept of X% match in this algorithm. So however you want to come up with that number is up to you. Whether you call a face distance of 0.6 a 100% match or an 80% match or whatever is up to you.
I am using your code from face_distance.py
How can I calculate the matching in percentage? Can I simply re-write
(1 - face_distance)%
The text was updated successfully, but these errors were encountered: