Code Monkey home page Code Monkey logo

faical-expression-recog's Introduction

Faical-Expression-Recog

This is a simple Deep Learning Project to recognise one of the seven universal face expressions which are :

  1. Happy
  2. Sad
  3. Neutral
  4. Fear
  5. Angry
  6. Surprise
  7. Disgust

To try it on your own, just clone the repo and then move into the root directory of the project and install all the dependencies by:

pip install flask tensorflow opencv-python

and similarly install other dependencies as well.

Then simply run the server by the command:

python main.py

and you can see the code running on localhost:5000

Side note

The CNN model was trained for only 15 epochs with a quite high learning rate because of my CPU constraints. So I would recommend you to first setup the project as above and then first run the jupyter notebook and there you will find the code to build and train the CNN model. Just change the values for the hyperparameters as per your need and CPU constraints and that's it. Once the model is trained and saved just run the python main.py script and visit localhost and let the app recognise your expressions. Enjoy :)

faical-expression-recog's People

Contributors

tanmay211 avatar

Watchers

James Cloos 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.