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

How can I change the code to recognize two person? #2

Open
Jin-Yerom opened this issue Aug 23, 2022 · 1 comment
Open

How can I change the code to recognize two person? #2

Jin-Yerom opened this issue Aug 23, 2022 · 1 comment

Comments

@Jin-Yerom
Copy link

I am really appreciate your code, and I am interested in this code. I am studying EleGANt and want to give some changes. I found that this EleGANt model cannot recognize 2 person. So I want to get your advice. How can I change the code to recognize two person? WHICH CODE I NEED TO STUDY AND REFORM? THANK YOU.

@Chenyu-Yang-2000
Copy link
Owner

Thanks for your interest, @Jin-Yerom. We use the dlib library to detect and crop the face. Since all data samples now only contain one person, we simply take the first face recognized by dlib. (Refer to training/process.py). You can check whether the dlib library supports detecting multiple faces and modify the code. i.e., take several items from the list of faces.

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