Face_recognition: face_distance function

Created on 24 Mar 2020  路  1Comment  路  Source: ageitgey/face_recognition

  • face_recognition version: 1.2.3
  • Python version: 3.5.3
  • Operating System: Debian Linux 9.9

Hi,

Just wanted to know the face_distance function. So if the distance is low does that mean they are more similar? Furthermore, is there a range for the euclidean distance for example between 0 and 1. Where 0 means the the images are identical and 1 means they cant be more different?

Thanks for your help.

Thanks & Best Regards

Michael

Most helpful comment

Yes, that is correct. 0 distance means they are probably the same image.

Here's a bit more information about the range: https://github.com/ageitgey/face_recognition/wiki/Calculating-Accuracy-as-a-Percentage

>All comments

Yes, that is correct. 0 distance means they are probably the same image.

Here's a bit more information about the range: https://github.com/ageitgey/face_recognition/wiki/Calculating-Accuracy-as-a-Percentage

Was this page helpful?
0 / 5 - 0 ratings

Related issues

damey2011 picture damey2011  路  3Comments

Sparviero-Sughero picture Sparviero-Sughero  路  4Comments

ramineniraviteja picture ramineniraviteja  路  5Comments

ayyucedemirbas picture ayyucedemirbas  路  4Comments

Allenstin picture Allenstin  路  5Comments