face_rec
face_rec copied to clipboard
How do we add our own dataset?
I want to use this recognizer for attendance system. How do we add faces as dataset?
I have the same doubt. Where to place the images. i receive this message:
[LOG] Collecting images ... 0it [00:00, ?it/s] [LOG] Encoding faces ... 0it [00:00, ?it/s]
and then after blinking, the program detects me as unknown. It's not training on the images.
I was able to solve the issue. just place your images in a folder with your name, and then put that folder inside a "faces" folder. so the directory will look something like this:
face_rec-master ----dataset --------train --------val ----faces --------your-name --------someone-elses-name ----eye_status.py ----face_rec.py ----xml files
hipe this helps!