Giter Site home page Giter Site logo

permikomnaskaltara / party-pi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from justinshenk/party-pi

1.0 1.0 0.0 21.54 MB

Computer vision emotion :stuck_out_tongue_winking_eye: detection game with TensorFlow backend.

Home Page: https://partypi.net

License: MIT License

Dockerfile 0.19% HTML 13.54% Python 15.37% CSS 5.68% JavaScript 65.21%

party-pi's Introduction

Party Pi

license  

Emotion detection game using computer vision.

Description

Interactive game that ranks players by their ability to show an emotion (eg, "Show surprise").

Emotion detection is accomplished using an Inception-based neural network trained in TensorFlow on the FER2013 dataset. Face detection is accomplished using OpenCV's Haar cascade.

Demo

Pics from the first demo at the Institute of Cognitive Science 2016 Christmas Party

screenshot of game

Play

Visit https://partypi.net with Desktop Chrome or Firefox.

Run locally

Clone repository:

git clone https://github.com/JustinShenk/party-pi.git
cd party-pi

Install dependencies:

pip3 install -r requirements.txt

If using Ubuntu, install tkinter with sudo apt-get install python3-tk

gunicorn -c gunicorn.conf main:app

Open a browser to https://localhost:5000.

Docker

Pull the docker image with docker pull justinshenk/partypi:latest.

Run the server interactively with docker run -it -p 5000:5000 partypi and open a browser to https://localhost:5000.

In Chrome (or Firefox), click Advanced and proceed past the warning.

Raspberry Pi

Additional (optional) arguments: --picam for piCamera module and --slow to slow down the countdown.

Select Easy or Hard Mode (left or right arrow keys).

Awards, Press, Demos

  • Featured in the Intel Developer Mesh Editor's Picks (August 2017)
  • Awarded the 2017 Intel Hack Challenge prize
  • The technology was demonstrated at Intel's AI booth at NIPS 2017
  • Party Pi was demoed for students and faculty at the 2016 and 2017 Osnabrück University Institute of Cognitive Science Christmas parties
  • Received the 2018 Open Source Software Prize from Intevation GmbH

TODO

  • Fix alignment of user interface elements
  • Fix display of elements
  • Fix mobile image processing
  • Test latest version on Raspberry Pi (support is deprecated)

Author

Justin Shenk (@JustinShenk) created Party Pi.

License

MIT

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.