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

Practical usage of embeddings for face recognition #26

Open
FSet89 opened this issue Oct 22, 2018 · 1 comment
Open

Practical usage of embeddings for face recognition #26

FSet89 opened this issue Oct 22, 2018 · 1 comment

Comments

@FSet89
Copy link

FSet89 commented Oct 22, 2018

I have a training set with N different identities [I_1, I_2 ... I_N] and for each identity I have several images extracted from a video. I trained the triplet loss model on this set. Now I have another set of images related to a new identity I_N+1 and I want all the future images related to I_N+1 to be recognized. What I thought is:

  • Compute the mean embedding of the available images related to I_N+1
  • When a new image is provided (i.e. at serving time), compute the embedding and compare it with the mean embedding. If the difference is below a given threshold, the identity is confirmed.

Is this approach correct? Is it better to compute several embeddings related to I_N+1 and use them separately?

@omoindrot
Copy link
Owner

I'm not sure if the mean embedding will work here.
Maybe the person has very different poses, different ages or different hair colors across photos. So you might want to compare each embedding in your history to the new unknown embedding.

The only way to know for sure is to test your ideas on a separate test set with multiple identities unseen during training.

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