Coder Social home page Coder Social logo

hamzamohdzubair / convolutionalemotion Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zebreu/convolutionalemotion

0.0 2.0 0.0 142 KB

A deep convolutional neural network system for live emotion detection

License: MIT License

Python 100.00%

convolutionalemotion's Introduction

UPDATE

Note to anyone who'd like to try this project: DeCAF is not an active project anymore, but [Caffe] (http://caffe.berkeleyvision.org/) is and it's quick and easy to replace the DeCAF lines in my code for Caffe. I really suggest you to try it. Another project of mine uses it and you can take a look there: https://github.com/Zebreu/SketchingAI

ConvolutionalEmotion

A deep convolutional neural network system for live emotion detection

How to run:

Python 2.7 64 bit and DeCAF (https://github.com/UCB-ICSI-Vision-Group/decaf-release/) needs to be installed, as well as numpy, opencv, pygame (only if you want to play the simple game that changes based on your facial expression) and sklearn. Works on Linux (tested on Ubuntu, with Anaconda).

Download Cohn-Kanade+ dataset. Not every sequence is annotated, so you can call remove() from emotionclassification.py to delete sequences without emotion labels.

Execute emotionclassification.py to produce features files from the dataset and to save a classifier. You might want to change the path to the Haar cascade files from OpenCV (the scripts assume they're in the same folder, so you can just copy them in there too).

Execute zengame.py.

Paper about the system available on arXiv.org: http://arxiv.org/pdf/1408.3750v1.pdf

convolutionalemotion's People

Contributors

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