All projects

Monkey Gesture Detector

Experiment, 2026

A webcam toy that swaps in a different monkey meme depending on what your face and hands are doing.

The story

A browser toy that watches your face and hands through the webcam and swaps in a different monkey meme when you stick your tongue out, make a fist or open your mouth. It runs MediaPipe's face and hand models at the same time, entirely on your own machine. Wiring up the models was quick. Turning raw landmarks into gestures I could trust, and then stopping them from flickering, took most of the time: confidence thresholds, a short history of recent frames, and rules for which gesture wins when two show up at once.

What I learned

  1. Running two models at once in a browser tab is mostly a performance budget, because if either one falls behind the whole thing stops feeling live.
  2. Landmarks are not gestures, and deciding what counts as a tongue out or a fist took more tuning than setting up the models did.
  3. Smoothing over the last few frames is what made it stable. Without it one bad frame makes the meme flicker, and it looks broken even when the detection was right.
  4. I built a debug overlay early, which paid off, since I could not tune something I could not see going wrong.
  5. It is a joke project, but I built it properly anyway, and that is the reason it stayed fun to keep working on.

What it’s built with

Page

  • HTML5 Canvas
  • Vanilla JavaScript
  • Webcam (getUserMedia)

Vision

  • MediaPipe Tasks Vision
  • Face Landmarker
  • Hand Landmarker
  • GPU delegate

Hosting

  • GitHub Pages
  • Runs fully in the browser

If you want the longer version of this one, email me.

Next projectDoomsday DrillWeb, 2026