Skip to main content

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

Screenshot

Install

Install OpenCV3 with python3 bindings

Get Authorization Keys

Microsoft/Oxford Emotion API Reference

  • Place your subscription key in config.json: “Ocp-Apim-Subscription-Key: {subscription key}”

Imgur API Reference

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

Author

Justin Shenk (@JustinShenk) created Party Pi.

License

MIT

Metadata

Release files for partypi 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for partypi 0.1.4
File Size Uploaded Provenance Actions
partypi-0.1.4.tar.gz 153.9 kB Without provenance Details for partypi-0.1.4.tar.gz

Release files / partypi-0.1.4.tar.gz

Download URL partypi-0.1.4.tar.gz
Size 153.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5545dfb26757b8b8a04e84752a7e778144cade99ca3c37db53fa4c822b6e18bd
BLAKE2b-256 checksum
How to use checksums
fa95693ac816c99c5a246392c24ae6268281f57013a32f05b983a654a37237f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for partypi 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page