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

High percentage in similarity #902

Open
Arab04 opened this issue Sep 21, 2022 · 6 comments
Open

High percentage in similarity #902

Arab04 opened this issue Sep 21, 2022 · 6 comments

Comments

@Arab04
Copy link

Arab04 commented Sep 21, 2022

  1. When we compare two different faces it returns high similarity in face verification REST API what is the reason for that?
  2. How many points does it uses when it makes face verification?
  3. I saw that there are 5 main points and does that mean that it puts only 5 points to the face when it verifies user?
  4. what type of algorithms does it use when it verifies user face?

I really need answers to all this questions, I would be very glad if someone could give me explanation to my questions

Thanks in advance

@pospielov
Copy link
Collaborator

Sorry for the late reply.

  1. There could be lots of reasons:
  • The bad picture quality or extreme lighting, for example, severe backlighting
  • Face doesn't look to the camera (extreme angle)
  • The bad accuracy of the model - in this case, I can recommend using one of the custom builds (https://github.com/exadel-inc/CompreFace/tree/master/custom-builds) or training your own model on your faces.
  1. Default version of CompreFace scales the image of the face to 160*160 px and sends it to a neural network. A neural network produces the embedding of 512 numbers. Embedding is used to verify the faces.
  2. Landmarks are internally used to alight the face, not to verify them.
  3. Euclidian distance between embeddings.

@pospielov
Copy link
Collaborator

  1. There could be lots of reasons:
  • The bad picture quality or extreme lighting, for example, severe backlighting
  • Face doesn't look to the camera (extreme angle)
  • The bad accuracy of the model - in this case, I can recommend using one of the custom builds (https://github.com/exadel-inc/CompreFace/tree/master/custom-builds) or training your own model on your faces.
  1. Default version of CompreFace scales the image of the face to 160*160 px and sends it to a neural network. A neural network produces the embedding of 512 numbers. Embedding is used to verify the faces.
  2. Landmarks are internally used to alight the face, not to verify them.
  3. Euclidian distance between embeddings.

@Arab04
Copy link
Author

Arab04 commented Nov 22, 2022 via email

@pospielov
Copy link
Collaborator

A server with 4 cores and 16Gb of RAM is totally enough to achieve 1 second for verifying face

@Arab04
Copy link
Author

Arab04 commented Nov 23, 2022 via email

@dingyaguang117
Copy link

dingyaguang117 commented Mar 8, 2023

For Asians, 1.1.0-arcface-r100 works fine for me.

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

3 participants