AI Vision · OpenCV · MediaPipe · 21 Hand Landmarks · 60 FPS

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.

60 FPS Ultra-Low Latency
21 Nodes 3D Hand Landmarks
<4% CPU Lightweight Pipeline
AirPointer AI Telemetry — /dev/video0 [Active]
TRACKING LOCK: OK LATENCY: 4.2ms · 60 FPS
POS: X:1420 Y:890 GESTURE: PINCH CLICK
Kalman Smoother: Enabled Confidence: 98.4%
MediaPipe Hands v0.10.x

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.

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 Active

Left Click

Pinch index finger and thumb together within the threshold distance to execute a primary click.

Pinch Distance < 30px

Right Click

Extend both Index and Middle fingers in a peace sign pose to trigger context menus.

V-Sign Pose

Smooth Scroll

Keep index and middle fingers parallel and swipe up or down to scroll documents and web pages.

Parallel Swipe

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.

X: 0 | Y: 0 STATE: IDLE

Up & Running in Seconds

Clone the repository, install standard Python dependencies, and launch.

Terminal Setup
Python 3.9+
# 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