An openCV project which can recognize certain celebrities or can tell to whom does a face resembles closely. It is built on openCV's inbuilt face recognizer
- Clone this repo
- Run faceRecognitionWebCam.py
- Press 'd' to terminate the program.
- Clone this repo
- Open faceRecognitionFileSrc.py in editor
- Add your source in line 17 in the file.
- Run faceRecognitionFileSrc.py
- clone this repo
- Add images of the person in photos/train/personName
- Add that person's name in people list in file faceRecognitionWebCam.py, faceRecognitionFileSrc.py and faceTrain.py.
- Delete face_trained.yml.
- Run faceTrain.py
- Run faceRecognitionWebCam.py or faceRecognitionFileSrc.py.