Skip to content

Emotion Recognition System, this repository contains python code for Emotion Recognition System, the CNN model uses Fisher Face Classification Algorithm to detect and identify emotions like Anger, Disgust, Sad, Happy, Neutral, and more.

Notifications You must be signed in to change notification settings

PratikHotchandani22/FacialAndEmotionRecognitionSystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Emotion Recognition

This software recognizes human faces and their corresponding emotions from a video or webcam feed. Powered by OpenCV and Deep Learning.

Installation

Install these dependencies with pip3 install <module name>

  • tensorflow
  • numpy
  • scipy
  • opencv-python
  • pillow
  • pandas
  • matplotlib
  • h5py
  • keras

Once the dependencies are installed, you can run the project. python3 emotions.py

To train new models for emotion classification

  • Download the fer2013.tar.gz file from here
  • Move the downloaded file to the datasets directory inside this repository.
  • Untar the file: tar -xzf fer2013.tar
  • Use train_emotion_classifier.py for training
  • Run the train_emotion_classification.py file: python3 train_emotion_classifier.py

Deep Learning Model

The model used is from this research paper written by Octavio Arriaga, Paul G. Plöger, and Matias Valdenegro.

Model

Credit

  • Computer vision powered by OpenCV.
  • Neural network scaffolding powered by Keras with Tensorflow.
  • Convolutional Neural Network (CNN) deep learning architecture is from this research paper.

About

Emotion Recognition System, this repository contains python code for Emotion Recognition System, the CNN model uses Fisher Face Classification Algorithm to detect and identify emotions like Anger, Disgust, Sad, Happy, Neutral, and more.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages