real-time expression classification

Introduction

This project is aim to real-time classify expression through webcams.

Environment and Dependencies

OS: Ubuntu 16.04 keras 1.0.7 opencv 3.1.0

How to use

Download the project

git clone https://github.com/zhanghan328/facial_expression_recognition.git

After installing dependencies. Just enter root of the document and

python webcam.py

How to train

The pre-trained model is provided. If you want to train, download the fer2013 dataset. Extract it and put the .csv at root. Then

python data.py

It will generate emotion image in data document.Then train it

python train.py

Contact

Welcome to e-mail to me zhanghan131@gmail.com