Skip to content

A machine learning model able to detect a person's emotions live through a webcam.

License

Notifications You must be signed in to change notification settings

luisarojas/emotion-recognition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Identifying Facial Expressions using Machine Learning

Instructions

Using Docker

  1. make build: Ensure that you have the right docker image.

  2. make: Run the container.

  3. q: Quit the program.

Using Python and dependencies

  1. Make sure all dependencies are installed (listed in ./res/docker/requirements.txt).

  2. python ./src/run.py

Dataset

Challenges in Representation Learning: Facial Expression Recognition Challenge

Emotion Code
Angry 0
Disgust 1
Fear 2
Happy 3
Sad 4
Surprise 5
Neutral 6

This dataset consists 48x48 pixel grayscale images of faces.

train.csv contains two columns, "emotion" and "pixels". The "emotion" column contains a numeric code ranging from 0 to 6, inclusive, for the emotion that is present in the image.

Total samples: 32,298

  • Training: 28,709 samples.
  • Testing: 3,589

Credit and Resources