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

Add face age gender demo #44

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

tae898
Copy link
Contributor

@tae898 tae898 commented Aug 26, 2021

Screenshot from 2021-08-26 19-46-50

This is a face detection, recognition, age/gender estimation demo.

I wanted to put this in run_chat.py or run_demo_multidomain.py but I thought first
I make this separate file as a demo, and then when I get enough feedback, I'll try to merge with
run_chat.py or run_demo_multidomain.py.

First install the required packages in ../requirements_face_age_gender.txt,
and then run python run_face_age_gender.py

In order to match the face, this script uses the pre-defined faces in the
directory ./embeddings. At the moment, I'm the only one there. If you want
your faces to be recognized, please send me five photos as in
https://photos.app.goo.gl/LzehxftJVV8M2s1V6

@mxschmdt
Copy link
Collaborator

That looks pretty interesting.
Is it possible to provide a script to locally generate the embeddings from the photos? That way we wouldn't have to upload any photos/embeddings and everyone could decide on their privacy.

@tae898
Copy link
Contributor Author

tae898 commented Oct 22, 2021

Yeah you don't have to upload photos/embeddings. Everything is done on your local machine anyways. I just wanted your photos to make the machine "aware" of your existence.

I'll make the code more readable and update the PR.

@tae898
Copy link
Contributor Author

tae898 commented Oct 22, 2021

This will be updated.

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

Successfully merging this pull request may close these issues.

2 participants