An AI-powered virtual mouse system enabling hands-free computer control through intuitive hand gestures.
- ποΈ Gesture-Based Control: Control cursor movements and execute clicks using hand gestures
- βΏ Accessibility-Focused: Designed to enhance computer accessibility for specially-abled individuals
- β‘ Real-Time Processing: Utilizes MediaPipe for efficient hand tracking and OpenCV for gesture recognition
- π― High Accuracy: Achieves 92-97% gesture recognition accuracy in controlled environments
- Python 3.8.5
- MediaPipe (Hand tracking)
- OpenCV (Computer vision)
- PyAutoGUI (Mouse control automation)
bash conda create --name gest python=3.8.5 conda activate gest
bash pip install -r requirements.txt
bash python Gesture_Controller.py
| Gesture | Action |
|---|---|
| Move hand | Move cursor across the screen |
| Index finger extended | Left click |
| Middle finger extended | Right click |
| Quick double index motion | Double click |
| Closed fist | Drag and drop / Scroll |
| Open palm (5 fingers) | Cancel or reset current action |
| Pinch (Thumb + Index Up/Down) | Increase or decrease system volume |
| Pinch (Thumb + Index Right) | Increase or decrease screen brightness |
| Left index + thumb pinch | Zoom in or zoom out (adjust page size) |
The system captures video input from your webcam and processes it through a computer vision pipeline:
- Video Capture: Acquires real-time video stream from webcam
- Hand Detection: MediaPipe tracks 21 hand landmarks with sub-pixel accuracy
- Gesture Recognition: Analyzes hand configurations to identify specific gestures
- Action Execution: Translates recognized gestures into corresponding mouse actions
- Accessibility assistance for individuals with limited mobility
- Hands-free computing in sterile environments (medical/lab settings)
- Convenient multitasking during presentations or cooking
- Touchless public kiosk interfaces
Hardware:
- Webcam (720p, 30 FPS minimum)
- Intel i5/AMD Ryzen 5 or equivalent
- 4GB RAM (8GB recommended)
Software:
- opencv-python
- mediapipe
- numpy
- pyautogui
- Poor detection: Ensure proper lighting and clear hand visibility
- Cursor jitter: Increase smoothing factor in configuration
- Performance lag: Close resource-intensive applications or reduce frame rate
Built for accessible, intuitive human-computer interaction β€οΈ