This project detects hands and counts fingers using a 21 point hand landmark overlay
- Real‑time hand landmark detection and skeleton overlay
- Left/Right hand labeling
- Image and webcam modes
- Python 3.8+
- OpenCV
- MediaPipe
- NumPy
See requirements.txt for exact versions.
pip install -r requirements.txt- Image:
python finger_counter.py --image path/to/image.jpg- Webcam (default camera index 0):
python finger_counter.py --webcam- Select a different camera:
python finger_counter.py --webcam --cam-index 1