Code Monkey home page Code Monkey logo

emotionid's Introduction

Emotion Detection

THIS PROJECT IS KIND OF EMOTION RECOGNITION. IN THIS PROJECT, WE FOLLOW ONE-MODEL-FOR-ONE-USER PRINCIPLE,THAT' S, RECOGNITION IS NOT GENERAL-PURPOSED. THAT IS WHAT THIS MAKES THE MAJOR DIFFERENCE FROM OTHERS.

Install

Windows

- [Install Anaconda](https://www.anaconda.com/download/)

      $ conda install python=3.5
      $ conda install -c menpo opencv3 
      $ conda install -c conda-forge dlib=19.4
      $ python -m pip install neurolab imutils

Ubuntu

- Install dlib, opencv, boost

      $ sudo apt-get install build-essential cmake libgtk-3-dev libboost-all-dev libopencv-dev
      $ wget https://bootstrap.pypa.io/get-pip.py
      $ sudo python get-pip.py
      $ sudo pip install numpy scipy scikit-image dlib

- Install neurolab
 
      $ sudo pip install neurolab

OSX

- Install homebrew

      $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
      $ brew update
      $ brew tap homebrew/science
      $ sudo nano ~/.bash_profile
      # Homebrew
      export PATH=/usr/local/bin:$PATH
      $ source ~/.bash_profile

- [Install Anaconda & Downgrade python](https://www.continuum.io/downloads/)
  
      $ conda install python=3.5
        
- Install opencv
  
      $ conda install numpy
      $ conda config --add channels conda-forge
      $ conda install opencv
      
- Install dlib
  
      $ conda install dlib
        
- Install neurolab, imutils
        
      $ sudo pip install neurolab imutils

Usage

  1. Download Landmark.dat

    $ ./download_data.sh
    
  2. Train

     $python record.py
    
  3. Test

     $python test.py
    

Download

You can download necessary files such as models from the following urls.

License

THE CODE IS NOT ALLOWED FOR COMMERCIAL PURPOSE. PLEASE CONTACT THE AUTHOR FIRST BEFORE YOU USE IT COMMERCIALLY.

Thanks

emotionid's People

Stargazers

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