Small computer-vision toy that uses your MacBook camera to recognize a peace sign and trigger a bunny hop animation on screen.
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.txtIf pip install fails with a Python “compile” error, try:
pip install --no-compile -r requirements.txtcd shadow-puppet
source .venv/bin/activate
python main.pyControls:
- Press q to quit.
Notes:
- macOS may prompt you to allow camera access for your terminal / Python. Allow it, then re-run.