How shivam-kotwalia/gesture-control works
Gesture Control Presenter is a webcam-based Google Slides controller. Its main workflow captures camera frames, detects hand landmarks, classifies finger positions, maps gestures to keyboard actions, and displays a live preview. A separate setup script downloads the hand-landmarker model required by the runtime. The graph reflects the README and sampled source; the model file is described by the code but is not present in the supplied file tree.
Main entry points: main.py Frame Capture · setup_models.py Model Download
Components 11
Camera Input
- Laptop Webcam
- Frame Capture
main.py - Live Preview
main.py
Gesture Processing
- Hand Detection
main.py - Finger Counting
main.py - Gesture Mapping
main.py - Hand Model
- Model Download
setup_models.py
Presentation Control
- Keyboard Automation
main.py - Google Slides
Other components
- Presenter
Connections 12
- Laptop Webcam → Frame Capture: provides frames
main.py - Frame Capture → Hand Detection: sends frames
main.py - Hand Detection → Hand Model: loads model
main.py - Hand Detection → Finger Counting: provides landmarks
main.py - Finger Counting → Gesture Mapping: counts fingers
main.py - Gesture Mapping → Keyboard Automation: triggers shortcuts
main.py - Keyboard Automation → Google Slides: controls slides
README.md - Frame Capture → Live Preview: displays frames
main.py - Gesture Mapping → Live Preview: shows gesture
main.py - Presenter → Laptop Webcam: shows gestures
README.md - Presenter → Live Preview: stops app
main.py - Model Download → Hand Model: downloads model
setup_models.py