Touchless AI
Virtual Mouse Control
AirPointer turns any standard webcam into a high-precision, touchless cursor controller. Move, click, scroll, and drag across your screen with natural hand gestures in real-time.
Computer Vision Innovation
Engineered for Precision & Comfort
A state-of-the-art gesture interaction pipeline that eliminates physical mouse strain and brings sci-fi interactions to reality.
21 Hand Landmark Tracking
Real-time 3D spatial coordinate detection for every joint and fingertip using MediaPipe's optimized lightweight neural network.
Sub-Pixel Cursor Smoothing
Exponential moving average and Kalman filters eliminate jitter and camera noise while retaining instant, snappy response.
Click, Drag & Scroll Gestures
Intuitive pinch triggers for single clicks, double clicks, right clicks, sustained dragging, and vertical/horizontal scrolling.
Dynamic Light Compensation
Adaptive contrast and brightness thresholds ensure flawless gesture detection even in dimly lit rooms or direct backlight.
Multi-Monitor Geometry
Effortlessly span your virtual cursor across multiple displays with custom coordinate mapping and boundary warping.
Full Configuration Control
Fine-tune sensitivity, deadzones, activation distances, camera source indexes, and custom key bindings via JSON or GUI.
Intuitive Motion
Natural Hand Gestures
Learn the simple fingertip motions that control your entire operating system.
Cursor Movement
Extend index finger. The cursor smoothly tracks your fingertip in real-time across the screen.
Index Tip ActiveLeft Click
Pinch index finger and thumb together within the threshold distance to execute a primary click.
Pinch Distance < 30pxRight Click
Extend both Index and Middle fingers in a peace sign pose to trigger context menus.
V-Sign PoseSmooth Scroll
Keep index and middle fingers parallel and swipe up or down to scroll documents and web pages.
Parallel SwipeInteractive Experience
Simulated Gesture Testpad
Move your cursor over the pad below to preview the virtual tracking and smoothing engine live.
Move Cursor in This Zone
Click or hold mouse down to simulate gesture pinch trigger and click activation.
Quick Start
Up & Running in Seconds
Clone the repository, install standard Python dependencies, and launch.
# 1. Clone repository
git clone https://github.com/dev-hints/AirPointer.git
cd AirPointer
# 2. Create and activate virtual environment
python3 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# 3. Install requirements
pip install opencv-python mediapipe pyautogui pynput
# 4. Launch AirPointer
python airpointer.py --camera 0 --smoothing 0.75