Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

partypi

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

partypi

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

  • 0.1.4
  • PyPI
  • Socket score

Maintainers
1

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 <https://www.partypi.net/img/demo.png>_

Install

Install OpenCV3 with python3 bindings

Get Authorization Keys

Microsoft/Oxford Emotion API Reference <https://dev.projectoxford.ai/docs/services/5639d931ca73072154c1ce89>_

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

Imgur API Reference <https://api.imgur.com/endpoints>_

Getting Started

Clone repository:

.. code-block:: python

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

Install dependencies:

.. code-block:: python

pip install -r requirements.txt

Change config.json.example to config.json and add your Emotion_API and Imgur keys. Then start the game:

.. code-block:: python

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.

.. _Justin Shenk: https://linkedin.com/in/JustinShenk/ .. _@JustinShenk: https://github.com/JustinShenk/

License

MIT <https://github.com/JustinShenk/party-pi/blob/master/LICENSE>_

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc