Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

Party Pi is a computer vision emotion detection game with OpenCV and Microsoft Oxford Emotion API.

Project Description

# Party Pi Emotion detection game for parties using computer vision.

## Description Interactive game that prompts players to show an emotion (eg, “Show surprise”), and displays the winner. Can be used on raspberry pi with piCamera module.

## Demo ![happiness](demo.png)

## Install Install OpenCV3 with python3 bindings

### Mac

#### Brew brew install opencv3 –with-python3 –with-contrib

#### Anaconda conda install -c menpo opencv3=3.1.0

### Ubuntu

[Installing OpenCV3 on Ubuntu](http://www.pyimagesearch.com/2015/07/20/install-opencv-3-0-and-python-3-4-on-ubuntu/)

### Windows

[Installing OpenCV3 on Windows](https://www.solarianprogrammer.com/2016/09/17/install-opencv-3-with-python-3-on-windows/)

## Get authorization keys

[Microsoft/Oxford Emotion API](https://dev.projectoxford.ai/docs/services/5639d931ca73072154c1ce89) - Place your subscription key in config.json: “Ocp-Apim-Subscription-Key: {subscription key}”

[Imgur API](https://api.imgur.com/endpoints)

## Getting Started

Clone repository

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

cd party-pi

pip install -r requirements.txt

Change auth.json.example to config.json and add your Emotion_API and Imgur keys.

python main.py

Additional arguments: –picam for piCamera module and –resolution to specify resolution.

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

## TODO
  • [ ] Fix alignment of analyzing text
  • [ ] Redesign mode selection boxes
  • [ ] Add PyQT for font and sizing support

## Author

[Justin Shenk](https://github.com/JustinShenk/)

Release History

Release History

This version
History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
partypi-0.1.0-py3.5.egg (2.0 kB) Copy SHA256 Checksum SHA256 3.5 Egg Jan 23, 2017
partypi-0.1.0-py3-none-any.whl (3.8 kB) Copy SHA256 Checksum SHA256 py3 Wheel Jan 23, 2017
partypi-0.1.0.tar.gz (2.3 kB) Copy SHA256 Checksum SHA256 Source Jan 23, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting