Skip to content

utkuozbulak/facial-expression-recognition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Facial Expression Recognition

Note: This is a messy repository, you should find your way through what is present here (unfortunately).

Team Members

  • Alex Young
  • Andreas Eliasson
  • Ara Hayrabedian
  • Lukas Weiss
  • Utku Ozbulak

Data

The data consists of 48x48 pixel grayscale images of faces. The faces have been automatically registered so that the face is more or less centered and occupies about the same amount of space in each image. The task is to categorize each face based on the emotion shown in the facial expression in to one of seven categories (0=Angry, 1=Disgust, 2=Fear, 3=Happy, 4=Sad, 5=Surprise, 6=Neutral).

The training set consists of 28,709 examples. The first test set consists of 3,589 examples. The final test set consists of another 3,589 examples.

This dataset was prepared by Pierre-Luc Carrier and Aaron Courville, as part of an ongoing research project in the past.

Past Kaggle competition for this partical challenge: https://www.kaggle.com/c/challenges-in-representation-learning-facial-expression-recognition-challenge

Angry Angry

Disgust Disgust

Fear Fear

Happy Happy

Sad Sad

Surprise Surprise

Neutral Neutral

Evaluated Models

Facial Landscape - Pixel Approach

~50% Accuracy on detected faces with SVMs

SVM Optimisation:

SVM

Facial Landscape - Vector Approach

~49% Accuracy on detected faces with neural nets

SIFT

~28% Accuracy on detected faces with SVMs

Convolutional Neural Networks

~51% Accuracy on all data (7 classes)

CNN Model Breakdowns:

CNN

Pre-trained Models

~49% Accuracy with bagged model

Pre

Final Results

Final

Top Two Predictions with the Best Model

bw Supposed to be: Surpsised Found: 93% Neutral - 3% Sad

bw Supposed to be: Angry Found: 43% Sad - 21% Angry

bw Supposed to be: Happy Found: 86% Happy - 11% Neutral

bw Supposed to be: Neutral Found: 83% Neutral - 7% Angry

bw Supposed to be: Sad Found: 33% Sad - 25% Fear

bw Supposed to be: Fear Found: 94% Neutral - 4% Fear

About

Predicting facial expressions with machine learning algorithms

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages