A computer vision project that allows you to control applications using WASD keys through hand gestures captured by your webcam.
- Control WASD keyboard inputs using hand gestures
- Visual interface with grid lines showing control regions
- Real-time hand tracking and visualization
- Adjustable sensitivity and control parameters
- Python 3.6+
- OpenCV
- MediaPipe
- PyAutoGUI `
Run the main script:
python main.py
- Move your index finger to the top section to press 'W'
- Move your index finger to the bottom section to press 'S'
- Move your index finger to the left section to press 'A'
- Move your index finger to the right section to press 'D'
- Keep your finger in the center for no action
- Press 'q' to quit the application
main.py
: Entry point for the applicationhand_controller.py
: Handles hand detection and gesture processingvisualization.py
: Manages the visual interface and display
You can modify the sensitivity