← All models Β· GestureRecognizer

use case Β· practical

Practical: a gesture remote

A named gesture is a button. This maps five gestures to a mock media player β€” πŸ‘ play, ✊ pause, βœ‹ stop, ✌️ next track, ☝️ select β€” so you can drive the UI without touching anything. Try it on a sample hand, or hold a gesture up to your webcam and watch the player react. Each distinct gesture fires once, the way a real remote should.

A thumbs up β€” play A victory sign β€” next track An open palm β€” stop
β™ͺ
Track 1 β€” "On-Device Groove"
Stopped
Waiting for a gesture…
gestureaction
πŸ‘ Thumb UpPlay
✊ Closed FistPause
βœ‹ Open PalmStop
✌️ VictoryNext track
☝️ Pointing UpSelect / like

Where this goes

Because it's all on-device, this works offline and streams nothing β€” ideal for kitchen/workshop "hands-busy" control, kiosks and signage, presentation remotes, and accessibility. A shipping version would add a short dwell time so a gesture has to be held briefly before it fires, avoiding accidental triggers as your hand passes through poses.

← Basics Β· GestureRecognizer Β· Next: Wild β†’