How krushang004/hand-gesture-led-control works
This is a camera-to-LED gesture-control application: the Python program captures frames, detects one hand, counts extended fingers, displays the count, and sends changed counts over serial; Arduino firmware turns on the corresponding LEDs. The README also documents the hardware setup and 0–5 finger behavior. The Python entry point is the only sampled source; firmware behavior and wiring links are supported by README documentation rather than inspected sketch contents.
Main entry points: hand_gester.py Gesture app · arduino_code.ino Arduino firmware · hand_landmarker.task Landmarker model
Components 8
Vision and gesture processing
- Gesture app
hand_gester.py - Landmarker model
hand_landmarker.task - MediaPipe detector
Serial and device control
- Serial connection
hand_gester.py - Arduino firmware
arduino_code.ino
LED hardware
- LEDs
Other components
- User
- Webcam
Connections 8
- User → Webcam: shows gestures
README.md - Webcam → Gesture app: provides frames
hand_gester.py - Gesture app → Landmarker model: configures model
hand_gester.py - Gesture app → MediaPipe detector: detects landmarks
hand_gester.py - Gesture app → Serial connection: writes finger count
hand_gester.py - Serial connection → Arduino firmware: sends over USB
README.md - Arduino firmware → LEDs: controls LEDs
README.md - Gesture app → User: displays count
hand_gester.py