How syntherat/hand-gesture-controlled-system-cv-project works
This is a real-time, webcam-based hand-gesture interface for controlling desktop volume and mouse actions. The principal workflow captures frames in the application loop, detects and interprets hand landmarks, dispatches gesture-specific actions through the controller, and renders status overlays. The graph separates frame orchestration, hand perception, and desktop control/smoothing. Edges reflect the sampled source; the README documents the user-facing capabilities, while the implementation of those capabilities is shown in the excerpts.
Main entry points: main.py Frame Loop · gesture_controller.py Action Controller · hand_tracker.py Hand Tracker · smoothing.py Smoothing Filters
Components 11
Frame Application
- Frame Loop
src/main.py - Gesture Rules
src/main.py - FPS and Mode
src/main.py
Hand Perception
- Hand Tracker
src/hand_tracker.py
Gesture Control
- Action Controller
src/gesture_controller.py - Smoothing Filters
utils/smoothing.py - Volume Indicator
src/gesture_controller.py
Other components
- User
- Webcam
- Video Display
- Desktop Controls
Connections 12
- User → Frame Loop: starts
README.md - Frame Loop → Webcam: reads frames
src/main.py - Frame Loop → Hand Tracker: processes frames
src/main.py - Hand Tracker → Frame Loop: returns landmarks
src/main.py - Frame Loop → Gesture Rules: interprets landmarks
src/main.py - Gesture Rules → Action Controller: dispatches actions
src/main.py - Action Controller → Smoothing Filters: smooths values
src/gesture_controller.py - Action Controller → Desktop Controls: moves and clicks
src/gesture_controller.py - Action Controller → Desktop Controls: presses volume keys
src/gesture_controller.py - Frame Loop → Action Controller: draws indicator
src/main.py - Frame Loop → FPS and Mode: updates status
src/main.py - Frame Loop → Video Display: shows video
src/main.py