Gesture-controlled photo booth: make the < > (bracket) gesture with both hands to start a countdown and capture a photo.
- Python 3 (for backend)
- Node.js (for frontend)
- Ensure
hand_landmarker.taskis in the project root (MediaPipe hand model)
git clone https://github.com/gdguj/BracketClick
cd BracketClickpython -m venv venv
venv\Scripts\activate # Windows
# source venv/bin/activate # macOS/Linux
pip install -r requirements.txtcd bracketclickfrontend
npm installStart both the backend and the frontend (use two terminals).
From the project root (with venv activated):
cd python app.pyBackend runs at http://127.0.0.1:5000 (camera + gesture detection + /video_feed stream).
From bracketclickfrontend:
npm run devFrontend runs at http://localhost:5173.
Open http://localhost:5173 in your browser. The React app will show the live camera feed from the backend. Make the bracket gesture with both hands to trigger the countdown and capture a photo (saved in captured_photos/).