- python 3.6
- cv2
- tkinter
- Install all dependencies in
label.py
(pip3 install Pillow numpy opencv-contrib-python opencv-python
) - place the source images(with the faces you want to train) in the
images-to-process
folder - Run
python3 label.py
- Label the faces
- When the program is started the first image of the
image-to-process
folder to analysed to get the faces in the image. - Label the faces by entering the names in the textbox under the faces in the
Detected Faces
panel. - Click on next to save the labeled faces to
training-data
and load the next image. - The program closes if there are no images left in the
images-to-process
folder.
MIT