Used Kaggle FER2013 dataset and built the Facial emotion recognition using Keras and added a real time Webcam implementation Download here https://www.kaggle.com/c/challenges-in-representation-learning-facial-expression-recognition-challenge
(used a virtual environment)
pip install Keras
pip install Tensorflow
pip install Opencv
For real time facial emotion recognition, execute command:
python3 realtime_facial_expression.py
For detecting the facial expression in a test image you can execute the command:
python3 image_test.py test.jpg
Used a CNN based appoach for the detection of facial expressions. The code for the CNN model is in the Facial_CNN.ipynb. The Trained model is Present here give an accuracy of approximately 90% after training for 200 epochs and an accuracy of 65% for 30 epochs.
