Face identification based on CNN and OpenCv face detection
The project aims to recognizes and identify faces in pictures by using opencv to detect faces and a keras CNN to identify them.
git clone https://github.com/luickk/cnn-face-recognition
Install listed dependiencies
- numpy
- Keras
- cv2
- Pillow
Then create the data dir
mkdir data
Add your data to data/data/class/imgFiles
Used dataset: https://www.kaggle.com/dansbecker/5-celebrity-faces-dataset
python3 train.py
Fill in trained model uid and test-img path beforehand
python predict.py
Original: