Party Pi is a computer vision emotion detection game with OpenCV and Microsoft Oxford Emotion API.
Project description
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
Install
Install OpenCV3 with python3 bindings
Getting Started
Clone repository:
git clone https://github.com/JustinShenk/party-pi.git
cd party-pi
Install dependencies:
pip install -r requirements.txt
Change config.json.example to config.json and add your Emotion_API and Imgur keys. Then start the game:
python main.py
Additional (optional) 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
Add Python 2 compatibility
Add camera detection feature to recognize if raspberry pi
License
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file partypi-0.1.4.tar.gz
.
File metadata
- Download URL: partypi-0.1.4.tar.gz
- Upload date:
- Size: 153.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5545dfb26757b8b8a04e84752a7e778144cade99ca3c37db53fa4c822b6e18bd |
|
MD5 | 613e46913c9bae13216d0ea1309ffb42 |
|
BLAKE2b-256 | fa95693ac816c99c5a246392c24ae6268281f57013a32f05b983a654a37237f9 |