Closed wukuai closed 7 years ago
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. :grin:
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.
create_face_model.py
`
python3 create_face_model.py /path/to/images/directory
`
Let me know if you find any problem in that.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.
22
I am not clear what you are asking. I understand two things from this issue:
Please clear out your question so it is for us to provide the appropriate solution. :smile_cat: