Skip to content

XiuweiHe/EmotionClassifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Emotion classification

real-time face detection and emotion classification

  • the test accuracy is 66% in the kaggle competion dataset fer2013
  • the test accuracy is 99.87% in the CK+ dataset
  • the average emotion classifer model predict cost time is 4~ 10ms in real-time videos captured from webcam ##dataset source:
  • CK+:

The Extended Cohn-Kanade (CK+) database distribution.there are 593 sequences across 123 subjects which are FACS coded at the peak frame ONLY 327 of the 593 sequences have emotion sequences.(emoton labels.{0: 'neutral', 1: 'anger', 2: 'contempt', 3: 'disgust', 4: 'fear', 5:'happy', 6:'sadness', 7:'surprise'})

  • fer2013:

the kaggle competitions: Challenges in Representation Learning: Facial Expression Recognition Challenge https://www.kaggle.com/c/challenges-in-representation-learning-facial-expression-recognition-challenge The dataset provided in the competion consists of gray scale images which are 48 x 48 in dimension and the corresponding labels consisting of 7 emotions. (emtion labels.{0:'angry',1:'disgust',2:'fear',3:'happy', 4:'sad',5:'surprise',6:'neutral'})

classification model use mini_XCEPTION

mini_Xception

Emtion classification examples

  • test image

Lecun&hition

  • test video

gif

Reference

Prerequisites

  • Python 3.5
  • OpenCV
  • Dlib
  • keras
  • Numpy
  • TensorFlow

Releases

No releases published

Packages

No packages published