AirMouse is a real-time Python application that uses your webcam to track your index finger and move the mouse pointer automatically—no physical contact required.
- Real-time hand tracking using MediaPipe
- Webcam input via OpenCV
- Mouse control with pyautogui
- Cross-platform (Windows/Linux/Mac)
- Install dependencies:
pip install mediapipe opencv-python pyautogui
- Run the app:
python airmouse.py
- Press
qto quit.
- Gesture recognition (e.g. pinch = click)
- Smoothing pointer movement
- Packaging as executable