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 (
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](

### Windows

[Installing OpenCV3 on Windows](

## Get authorization keys

[Microsoft/Oxford Emotion API]( - Place your subscription key in config.json: “Ocp-Apim-Subscription-Key: {subscription key}”

[Imgur API](

## Getting Started

Clone repository

git clone

cd party-pi

pip install -r requirements.txt

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


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

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

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

## Author

[Justin Shenk](

Release History

Release History

This version
History Node


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