Motion Lab

Hand & eye tracking with your camera

Allow the camera to start

This demo needs your camera to see your hand and eyes. Everything runs on this device. No video or photo is uploaded or saved. We only count anonymous visits (no cookies, no personal data).

Works on Android Chrome, iPhone Safari (iOS 15+) and laptop browsers. When your browser asks, tap Allow.

Hand tracking

Show one or two hands to the camera.

Try: ✋ open palm · ✊ fist · 👍 thumbs up · ✌️ peace · ☝️ pointing · 👌 OK · 🤏 pinch · 🤘 rock on

How it works & help

What is happening?

A small AI model (Google MediaPipe) finds 21 points on each hand and 478 points on the face, including the iris, many times a second. Simple geometry on those points gives the finger count, gestures, gaze and blinks.

  • Finger count: a finger is open when its tip is further from the wrist than its middle joint.
  • Blink: Eye Aspect Ratio = (two eyelid gaps) ÷ (2 × eye width). It drops sharply when the eye closes.
  • Gaze: where the iris sits between the two eye corners (0 = one corner, 1 = the other).

Camera not working?

  • Tap the camera / lock icon in the address bar and set Camera to Allow, then reload.
  • iPhone: Settings → Safari → Camera → Allow. Use Safari or Chrome, not an in-app browser (WhatsApp/Instagram). Open the link in Safari.
  • Close other apps that are using the camera (Zoom, Teams, Camera app).

Privacy

The models and code are served with this page and run inside your browser. Video frames are never sent anywhere. No cookies and no third-party analytics: the page only sends an anonymous count of visits and camera starts (event names, the referring site type and browser language; no IP address or personal data is stored).

Share Motion Lab

Fun to try with friends: count fingers, play the air-mouse game, test blink-click.

More free tools by Nived NS

Portfolio · GitHub · LinkedIn