Skip to content
Yahya Hallani02.6 ECHØ

ECHØ

ECHØ turns a laptop into a sonar. It hears your hand move, with no camera and no extra hardware.

How it works

The speaker plays a 20 kHz tone you can't hear. The mic picks up the echo off your hand, and the Doppler shift tells which way it is moving. No camera, no extra hardware and no audio kept: only gesture events leave the laptop.

A TypeScript engine in the browser turns the echo into five gestures: push, pull, wave, open and close, and undo. A small CNN of about 32k parameters, 128 KB in total, reads a 1 s window of 48 x 87 Doppler bins and runs in ONNX Runtime Web on the laptop's CPU, with no server.

  • Spectrogram of a push: the brightest patch sits above the centre line, with weaker patches below it at the left and right edges.Push
  • Spectrogram of a wave: bright patches on both sides of the centre line, in repeated bursts near the middle.Wave
  • Spectrogram of an undo: two short bursts of bright patches, above and below the centre line, near the middle.Undo
Push, wave and undo, from my own recordings. Each picture is the echo around the 20 kHz tone. Above the line the hand is moving toward the laptop, below it the hand is moving away.

Three apps, one sonar

Care: a hands-free help call for patients.

Lock: a gesture lock for a kid's browser.

Habit: listens on its own for repeated hand motion and catches you scratching. In one live test it caught 14 of 15 scratches.

  • Animated black and white picture: a person lies in a bed, and a phone at the right shows PAIN, then HELP, with the word CAREGIVER below itCare
  • Animated black and white picture: a hand waves in front of a laptop showing a white page, then the page changes to a video page labelled UNLOCKEDLock
  • Animated black and white picture: an arm and hand move beside a laptop, and a note appears reading Hands down for a momentHabit
Care, Lock and Habit, animated from our pitch site.

My part

I built the sonar engine and the gesture model. Five people recorded 147 gesture takes to train it, and mostly it meant hours of pushing and pulling my hand in front of a laptop while the model was very sure it was a wave.

Every laptop handles ultrasound differently, so the sonar has to be calibrated to each one. Training the model took about 5 hours. On my laptop, calibrated to it, it got 48 of 50 live trials right, 96%. Gestures from new people are harder to read than ours, and telling push from pull is still hard.

The best lesson was about testing. A retrained model looked fine on every recorded take, but live it kept reading a wave as an undo, so we rolled it back. Only trying it live caught that.

Team

1st place in the People First category at McGill CodeJam 16, as 4 Braincells: Ian Wilson, Eunjun Ko, Michael Lulic and me.

Four of us worked with five AI agents: three Claude Code, one QA and one Codex. They coordinated through one pinned GitHub issue used as a message board. We chose the idea, recorded the data, tested and decided. The agents wrote the code, and the QA agent found a security bug in the lock.

  • The team with two CodeJam organizers in front of the ECHØ slide at McGill CodeJam 16
4 Braincells at McGill CodeJam 16, with two organizers.