A real-time hand tracking project using OpenCV and MediaPipe that enables users to control their computer with simple hand gestures. This project supports mouse movement, clicking, scrolling, and more โ creating a smooth, touch-free interaction system.
- ๐ฏ Real-time hand & finger landmark detection
- ๐ฑ๏ธ Mouse movement with index finger
- ๐ Left & right click using gestures
- ๐ Scroll up/down with hand signs
- ๐ธ Take screenshots using gestures
- โก Smooth & responsive tracking
- Python 3.8+
- OpenCV โ Computer vision library
- MediaPipe โ Hand landmark detection
- Autopy โ Mouse/keyboard control
โโโ module.py # Hand tracking module (class + utility functions)
โโโ script.py # Main script for gesture control
โโโ requirements.txt # Dependencies
โโโ README.md # Project documentation
git clone https://github.com/yourusername/hand-gesture-control.git
cd hand-gesture-controlpip install -r requirements.txtpython script.py| Gesture | Action |
|---|---|
| โ Index finger up | Move mouse |
| โ Index + Middle finger | Left click |
| โ Fingers apart | Right click |
| โ Fist close | Scroll down |
| ๐ Palm open | Scroll up |
| ๐ค Pinch | Take screenshot |
- Add more custom gestures (drag & drop, volume control, app switching)
- Integrate AI/ML models for smarter recognition
- Package as a cross-platform desktop app
Developed by [Sachin Kushwaha] ๐
Feel free to fork, star โญ, and contribute!