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 to detect faces and divide them to save ? #22

Closed
wukuai opened this issue May 20, 2017 · 4 comments
Closed

How to detect faces and divide them to save ? #22

wukuai opened this issue May 20, 2017 · 4 comments

Comments

@wukuai
Copy link

wukuai commented May 20, 2017

No description provided.

@arpit1997
Copy link
Member

#22

How to detect faces and divide them to save

I am not clear what you are asking. I understand two things from this issue:

  1. You want to train a model for face recognition
  2. you already have a model and want to know how to use that model to make predictions and interpret the results.

Please clear out your question so it is for us to provide the appropriate solution. 😸

@wukuai
Copy link
Author

wukuai commented May 20, 2017

I want to train a model for face recognition.
Now I have so many photos of my face and I want to detect faces in these photos and divide them to save in './data'.
In the './scripts' I can't find which script to do the work mentioned above. 😁

@arpit1997
Copy link
Member

arpit1997 commented May 20, 2017

I will walk you through the steps:

  • This is the file that we have used to train our face recognition model

  • We have a specific filename format that we use for images. The format subjectX.Y.jpg where X is the subject label and Y is an auto increment number just for different images.

  • next you need to run the file mentioned above create_face_model.py
    python3 create_face_model.py /path/to/images/directory
    Let me know if you find any problem in that.

@arpit1997
Copy link
Member

closing this issue #22 with answer:

I will walk you through the steps:

  • This is the file that we have used to train our face recognition model
  • We have a specific filename format that we use for images. The format subjectX.Y.jpg where X is the subject label and Y is an auto increment number just for different images.
  • next you need to run the file mentioned above create_face_model.py
    python3 create_face_model.py /path/to/images/directory
    Let me know if you find any problem in that.

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