Git Product home page Git Product logo

emotion-recognition-neural-networks's Introduction

Emotion recognition with CNN

This repository is the out project about mood recognition using convolutional neural network for the course Seminar Neural Networks at TU Delft.

Angry Test

67% Accuracy

Angry Test

Dataset

We use the FER-2013 Faces Database, a set of 28,709 pictures of people displaying 7 emotional expressions (angry, disgusted, fearful, happy, sad, surprised and neutral). The dataset quality and image diversity is not very good and you will probably get a model with bad accuracy in other applications!

You have to request for access to the dataset or you can get it on Kaggle. Download fer2013.tar.gz and decompress fer2013.csv in the ./data folder.

Install all the dependencies using virtualenv.

virtualenv -p python3 ./
source ./bin/activate
pip install -r requirements.txt

The data is in CSV and we need to transform it using the script csv_to_numpy.py that generates the image and label data in the data folder.

$ python3 csv_to_numpy.py

By default this is using AlexNet architectures, but in the paper we propose different ones.

Usage

# To train a model
$ python3 emotion_recognition.py train
# To use it live
$ python3 emotion_recognition.py poc

Paper

Link

emotion-recognition-neural-networks's People

Contributors

2around avatar arierobbert avatar isseu avatar justinshenk avatar mmoiozo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.