A Webcam-Based Air Writing and Gesture-Controlled Interaction System Using MediaPipe and OpenCV
Year: 2026
Type: article
Abstract: This paper presents the design and implementation of a low-cost, webcam-based air-writing interface that enables touchless drawing and gesture-controlled interaction. The system captures live video through a standard webcam and uses MediaPipe Hand Landmarker to obtain hand keypoints. The index fingertip is tracked across consecutive frames, while the distance between the thumb and index fingertip is used as a pinch condition to activate writing. A short coordinate buffer and weighted averaging are applied to reduce visible jitter before OpenCV draws the trajectory on an overlay. A four-finger gesture activates erasing, and a keyboard command switches the application to an interactive fruit-cutting game in which the fingertip acts as a virtual blade. The implementation uses Python, OpenCV, MediaPipe, NumPy and Pygame, without requiring a marker, glove or dedicated motion sensor. The project report provides qualitative observations and screenshots showing hand tracking, air-written strokes and game interaction. The supplied source code does not contain a separate alphabet or word-classification model; therefore, the implemented output is treated as a digital stroke/drawing rather than verified automatic text recognition. The paper documents the implemented system, its operating logic, observed behaviour and current limitations, and identifies character recognition and quantitative performance testing as future work.
Language: English
Subfield: Human-Computer Interaction
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W7242017797
FWCI:
Cites:
Cited by:
Related to:
