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

Alignment with MTCNN does not produce insightface package result #2191

Open
pourfard opened this issue Dec 9, 2022 · 0 comments
Open

Alignment with MTCNN does not produce insightface package result #2191

pourfard opened this issue Dec 9, 2022 · 0 comments

Comments

@pourfard
Copy link

pourfard commented Dec 9, 2022

Hi,

I have one image named sample.jpg and it contains only one face. I detected and aligned the face using mtcnn and parameters you have mentioned here. Then I used insightface.model_zoo.ArcFaceONNX to get the aligned face's embedding. Then I used insightface.app.face_analysis.FaceAnalysis (large model) to detect and get embedding of the sample.jpg image. But comparing two vectors results 0.9034 similarity and 0.1410 distance which should be 1 and 0.

Any idea?

Update:
I changed the alignment parameters to those in face_align.py in insightface package and got 0.9690 similarity and 0.0793 distance but they are not 1 and 0 yet. Is it normal? because detection models are different (MTCNN and SCRFD)?

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

1 participant