Coder Social home page Coder Social logo

iamishan9 / emotion-detection-docker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from johnpaulada/emotion-detection-docker

0.0 2.0 0.0 83.96 MB

Emotion detection from (almost) scratch in Python. This repo contains both the Dockerfile and the app code.

Home Page: http://jpa-emotion-detection-slides.surge.sh

Python 100.00%

emotion-detection-docker's Introduction

Emotion Detection in Python

Emotion detection from (almost) scratch in Python.

forthebadge forthebadge forthebadge

Install

With Docker

  1. Install Docker
  2. Run git clone https://github.com/johnpaulada/emotion-detection-docker.git in your console
  3. Run cd emotion-detection-docker in your console
  4. Run docker pull johnpaulada/emotion-detection or docker load -i emotion-detection.tar in your console
  5. Run docker run -v 'pwd'/app:/home/app -it johnpaulada/emotion-detection in your console
  6. Run cd app
  7. You're all set!

Usage

For help, you can run python3 app.py -h.

Extracting Data

To extract data, run python3 app.py --data path-to-images-folder.

For example:

python3 app.py --data ./images

Training

To train the program, run python3 app.py --train.

Prediction

To predict the emotions of input images, run python3 app.py --predict path-to-input-image. The command supports the prediction of multiple images.

For example:

python3 app.py --predict ./happy-person.jpg ./angry_face.jpg

Stack

  1. Python
  2. Numpy
  3. OpenCV
  4. dlib
  5. imutils
  6. Scikit-Learn
  7. Docker

License

MIT

emotion-detection-docker's People

Watchers

James Cloos avatar Ishan Gautam 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.