AirNav is a Python-based virtual mouse that enables touch-free computer interaction using hand gestures and a webcam. It tracks hand movements in real time and converts them into cursor actions, clicks, scrolling, and volume control.
- ☝️ Move cursor using index finger
- 🤏 Left click using index + middle finger pinch
- 🤟 Right click using three fingers up
- ✌️ Smooth scrolling using two fingers
- 👍 Volume control using thumb–index distance
- Real-time hand tracking with gesture recognition
- Python
- OpenCV
- CVZone / MediaPipe
- NumPy
- PyAutoGUI
- Pycaw
- Comtypes
git clone https://github.com/aasthadhavan/AirNav.git
cd AirNavWindows
python -m venv venv
venv\Scripts\activatepip install opencv-python cvzone mediapipe pyautogui numpy pycaw comtypesOr:
pip install -r requirements.txtpython virtualmouse.pyPress Q to quit.
| Gesture | Action |
|---|---|
| Index Finger | Cursor Movement |
| Index + Middle Pinch | Left Click |
| Three Fingers Up | Right Click |
| Two Fingers Up | Scroll |
| Thumb ↔ Index Distance | Volume Control |
- Drag & Drop Support
- Custom Gestures
- Multi-Hand Tracking
- Media Controls
- Brightness Control