Opencv2- pip install opencv-python
Pickle- pip install pickle
Numpy- pip install numpy
Pillow- pip install pillow
Add the solo images of a person in a folder with person's name.
Use images in which his/her face is clearly visible and detectable from front.
Paste that folder into the images folder(to be created) in the same directory as the programs.
Run the face-train.py it will display paths of detected usable images in the console the more the merrier.
Finally run the face-detect.py and test your trained model on different faces.