Skip to content

Used Kaggle FER2013 dataset and built the Facial emotion recognition using Keras and added a real time Webcam implementation

Notifications You must be signed in to change notification settings

arnav8/Facial-Expression-Recognition

Repository files navigation

Facial-Expression-Recognition

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

Dependency

(used a virtual environment)

pip install Keras

pip install Tensorflow

pip install Opencv

Usage

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.

Image testing example

alt text

Acknowledgement

http://sefiks.com/2018/01/01/facial-expression-recognition-with-keras/

About

Used Kaggle FER2013 dataset and built the Facial emotion recognition using Keras and added a real time Webcam implementation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published