Data Science and Deep Learning

Emotion Recognition

emotional-recognition-edited.jpg

It recognizes human faces and their corresponding emotions from a video or webcam feed.

Powered by Open-CV and Deep Learning.

Table of Content :

1.Description

2.Installations

3.Usage

4.Dataset

1_oURfHMP1--ttXnDx0heusg.png

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:

Clone the repository:

github.com/CCyfer/Live_Emotion_Recognition

Install dependencies using requirements.txt

pip install -r requirements.txt

Usage:

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

test.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.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 pyimagesearch.com/2018/09/24/opencv-face-re.. great work and the resources of Adrian Rosebrock helped me alot!.