Deployed web demo · Computer vision and human-computer interaction
AirTouch
A gesture-controlled interface built around a simple question: what if you could move your computer’s cursor without touching a mouse or trackpad? AirTouch tracks a hand in the browser and can connect to a small Python companion running on the user’s own Mac.
See AirTouch in action
- 1Camerahand enters the frame
- 2TrackingMediaPipe reads landmarks
- 3Gestureindex move or pinch
- 4Mac pointerlocal companion relays input
CASE STUDY / 01INTERACTIVE STUDY+
What I built
- A React and TypeScript web interface using MediaPipe Tasks for real-time, browser-based hand tracking.
- Index-finger movement mapped to normalized cursor coordinates, with smoothing to make pointer movement feel steadier.
- Thumb-and-index pinch detection that presses and releases the Mac’s left mouse button, including click-and-drag when held.
- A local Python WebSocket companion using
pynputto control the pointer on the user’s own Mac. - One-time session tokens, exact website-origin validation, and button release when the browser disconnects.
Scope: The browser companion currently supports pointer movement and left-button pinch interaction. The native desktop AirTouch app has a broader gesture set. Each user runs their own companion locally; the hosted website does not connect to my Mac.
Built with
- Python
- React
- TypeScript
- MediaPipe
- WebSockets
- pynput
- Computer Vision