ECHØ
ECHØ is a touch-free gesture system I built with Yahya Hallani, Eunjun Ko and Michael Lulic over one weekend at McGill CodeJam 16. It turns the speaker and microphone that are already in almost every laptop into a sonar, so a laptop can recognise hand gestures with no camera, no extra hardware and no audio ever stored. It won first place in the People First category.
How it works
The laptop's speaker plays a steady 20 kHz tone and its microphone listens to the echo. When a hand moves toward the screen the echo's pitch rises, when it moves away the pitch drops, and a still hand gives no shift at all, which is the Doppler effect. A small convolutional neural network running in the browser reads one second of that echo about twelve times a second and decides which gesture it saw.
Why sound and not a camera
Camera and lidar rigs cost money to buy and install, privacy rules keep cameras out of hospital bathrooms and require consent in patient rooms, and ordinary cameras need light to see. A speaker and a microphone are already in almost every smart device, they work in the dark, and they never capture an image of anyone.
Care
Care is a call button that a patient does not have to reach. A stroke often causes weakness on one side of the body, strokes lead to about 108,000 hospital and emergency visits a year in Canada, and a 2021 study found that 56.6 percent of stroke patients had arm weakness on admission. With Care, a patient signals the caregiver's phone using only a hand movement.
- WaveHelp
- Open / closePain
- PushYes
- PullNo
- Double tapCancel
Lock
Lock is a Chrome extension that makes a blocked site look exactly like Chrome's own error page, so to a child the site is simply down and there is nothing to argue with. Parents unlock it with a private sequence of hand gestures, and only four faint dots show progress, so nobody watching learns the code.
Habit
About 15 percent of Canadian children live with eczema, and scratching that you do not notice keeps the skin from healing. Habit ignores typing, gives a gentle prompt when it hears scratching, and a double tap in the air snoozes it for ten minutes. The same double tap is the undo gesture in every part of ECHØ.
The model
We recorded 202 sessions from five people, each performing every gesture on cue so that every second of echo had an exact label. The model is a small convolutional neural network of about 32,000 parameters, trained in PyTorch on a single laptop GPU in about three minutes a run, and it runs entirely in the browser on the laptop's own processor.
Built with five agents
The four of us worked with five AI coding agents, each owning its own part of the code and coordinating through one shared board where they could assign each other tasks. We made the architecture decisions, recorded the training data and tested every feature live, while the agents wrote and checked most of the code.
Results
ECHØ is a proof of concept and not a finished medical device. It needs recalibrating whenever the room or the laptop position changes, it was trained on only five people, and two laptops running it a few metres apart can interfere with each other.
Home
Open ECHØ
GitHub repo
Devpost