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

find a target face in video files #174

Open
picca-ca opened this issue Sep 25, 2019 · 4 comments

Comments

@picca-ca
Copy link

commented Sep 25, 2019

Hi John,

I am writing a program to recognize a face from the video files. Is there any class you have in openimaj to realize this similar function? If not, here is what I think should be a logic. Let me know your opinion.

First to extract face features of the person of interest from a image.
Second, open the video, per frame to detect a face, if a face is found, extract the face feature, compare the similarity (distance) with the target image.
This is sounds very time consuming. Would love to hear your comments on this solution.
Thanks a lot.
Dan

@BioHaZard88

This comment has been minimized.

Copy link

commented Sep 26, 2019

Hello , do you use the same method of this tutoriel :
http://openimaj.org/tutorial/finding-faces.html
Its look like you do , it use a screenshots to detect face in image ans return array of face detect .
And After you use http://openimaj.org/tutorial/eigenfaces.html
Tu recognize face .
Me i use other thread to make the face détection , i think for eigenface you do the same.

If its not your problem , sorry for my answer and sorry for my english , im french.

Jérôme

@jonhare

This comment has been minimized.

Copy link
Member

commented Sep 26, 2019

Jérôme's answer is pretty spot on and points you to some code that will help. Your overall proposed approach is sound. I'd probably avoid doing complete re-detection on every frame and use one of the face trackers instead as this would be computationally less expensive. OpenIMAJ's range of facial features is relatively old hat compared to modern methods such as FaceNet embeddings, but they might still be enough for what you need.

@picca-ca

This comment has been minimized.

Copy link
Author

commented Sep 26, 2019

Thanks, Jon. Face tracker is an good suggestion. I will have to mask all other faces in the video and only leave the face of interest intact.
Another question is I am building a team to develop this application, wondering if you would be interested in joining us as remote and part time developer.
We are from Canada.

@picca-ca

This comment has been minimized.

Copy link
Author

commented Sep 26, 2019

Jérôme, thanks for your suggestion. Yes, I am actually learning from the http://openimaj.org/tutorial/eigenfaces.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.