The repo contains the code for running the All-in-one face detection/recognition + expression recognition
Requires several libraries to get the demo running.
- Caffe + PyCaffe Installation
- Tensorflow for Face expression Installation
- OpenCV
- Download the model files from here
- Untar the contents and place the content in the models directory
- Place the images that you want to be identified in the data directory. Then run
python utils/generate_train_features.py
- Next, run
python demo.py
A window will open and will start detecting the faces
- Experimental feature. For detecting the facial expressions, modify utils/MTCNN.py and change EXPRESSION_DETECTION_ENABLED = True and restart the demo.py
For major changes, please open an issue first to discuss what you would like to change.