Skip to content
Real time emotion recognition
Python
Branch: master
Clone or download
Latest commit 4dd39d3 Mar 14, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
__pycache__ Add files via upload Sep 29, 2018
emotions Add files via upload Sep 29, 2018
fer2013/fer2013 Delete readme.txt Sep 29, 2018
haarcascade_files Add files via upload Sep 29, 2018
models Add files via upload Oct 8, 2018
README.md Update README.md Mar 14, 2019
license.txt Add files via upload Sep 29, 2018
load_and_process.py Add files via upload Sep 29, 2018
real_time_video.py Update real_time_video.py Oct 8, 2018
train_emotion_classifier.py Add files via upload Sep 29, 2018

README.md

Project Name : Emotion-recognition

Table of Content :

1.Description

2.Installations

3.Usage

4.Dataset

Description:

Our Human face is having a mixed emotions so we are to demonstrate the probabilities of these emotions that we have.

What does Emotion Recognition mean?

Emotion recognition is a technique used in software that allows a program to "read" the emotions on a human face using advanced image processing. Companies have been experimenting with combining sophisticated algorithms with image processing techniques that have emerged in the past ten years to understand more about what an image or a video of a person's face tells us about how he/she is feeling and not just that but also showing the probabilities of mixed emotions a face could has.

Installations:

-keras

-imutils

-cv2

-numpy

Usage:

The program will creat a window to display the scene capture by webcamera and a window representing the probabilities of detected emotions.

Demo

python real_time_video.py

You can just use this with the provided pretrained model i have included in the path written in the code file, i have choosen this specificaly since it scores the best accuracy, feel free to choose any but in this case you have to run the later file train_emotion_classifier

If you just want to run this demo instead of training the model from scaratch, the following content can be skipped

Train

python train_emotion_classifier.py

Dataset:

I have used this dataset

Download it and put the csv in fer2013/fer2013/

-fer2013 emotion classification test accuracy: 66%

Credits

This work is inspired from this great work and the resources of Adrian Rosebrock helped me alot!.

Ongoing

Draw emotions faces next to the detected face.

Issues & Suggestions

If any issues and suggestions to me, you can create an issue.

If you like this work please help me by giving me some stars.

You can’t perform that action at this time.