Giter VIP home page Giter VIP logo

resnet-emotion-recognition's Introduction

Emotion Recognition using ResNet CNN Architecture

This project attempts to recognize user emotion using a convolutional neural network (CNN). The particular architecture used is a residual neural network based (ResNet).

The neural net can recognize 7 emotions with relatively high accuracy: (1) Anger, (2) Disgust, (3) Fear, (4) Happy, (5) Sad, (6) Surprise and (7) Neutral.

The dataset for training the neural net came from the Carrier and Courville Facial Expression Dataset hosted on Kaggle.

How to Run:

Emotion Recognition

(1) In order to get going quickly, run the face_tracking.py file and the program will begin to track your emotions via webcam.

Neural Net Training

(1) The neural net can be re-trained to obtain a different model via the emotion_recognition.py file.

The current model has an accuracy of ~94.8% on the test dataset.

Hardware Requirements

(1) Webcam, (2) Graphics card supporting Tensorflow

Note: Program has only been tested under Ubuntu 14.04 with an NVIDIA GTX 1070.

References:

(1) https://github.com/tflearn/tflearn/blob/master/examples/images/residual_network_cifar10.py

(2) https://www.kaggle.com/c/challenges-in-representation-learning-facial-expression-recognition-challenge

resnet-emotion-recognition's People

Contributors

safreita1 avatar

Watchers

 avatar  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.