AGawrys/shadow-puppets

Simple computer vision project to show images based on hand movements

★ 1Forks 0PythonGitHub ↗Compare

README

Shadow Puppet

Small computer-vision toy that uses your MacBook camera to recognize a peace sign and trigger a bunny hop animation on screen.

Setup

Create a virtualenv (recommended) and install deps:

cd shadow-puppet
python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
pip install -r requirements.txt

If pip install fails with a Python “compile” error, try:

pip install --no-compile -r requirements.txt

Run

cd shadow-puppet
source .venv/bin/activate
python main.py

Controls:

  • Press q to quit.

Notes:

  • macOS may prompt you to allow camera access for your terminal / Python. Allow it, then re-run.

Contributors

AGawrys

Issues