/Emotion-recognition

This project's content is to create a model that can recognize 7 types of human emotions through the face. The project includes two simple apps: recognition through images and recognition with cameras in real time.

Primary LanguageJupyter Notebook

Emotion_Detection_CNN

Introduction

This project aims to classify the emotion on a person's face into one of seven categories, using deep convolutional neural networks.

Data Preparation (optional)

Data Set Link - https://www.kaggle.com/jonathanoheix/face-expression-recognition-dataset

Dependencies

  • Python3, OpenCV, Keras
  • To install the required packages, run pip install -r requirements.txt.

Basic Usage

  • First, clone the repository and enter the folder
git clone https://github.com/phphuc0608/Emotion-recognition
cd Emotion-recognnition
  • Download the dataset
  • To prediction with images, you can run:
python -u image-app-test.py
  • To prediction in real time with camera, you can run:
python -u camera-app-test.py