Inspiration

When a Deaf person needs to spell their name at a front desk, give a medication name at a pharmacy, or say a street name to someone who doesn't know sign language, there usually isn't an interpreter around. The conversation drops to pen and paper, typing on a phone, or guesswork. The WHO estimates more than 430 million people live with disabling hearing loss, and most everyday conversations happen with no interpreter at all.

ASL fingerspelling is how signers spell out names, places and technical words. I wanted a free tool that turns fingerspelling into text and speech with nothing more than a webcam and a browser.

What it does

  • Recognize: fingerspell to your webcam. SignBridge finds your hand, recognizes each letter, builds words (with suggestions you choose), and reads the sentence aloud.
  • Meet: a free, link-based video call. Your fingerspelling shows up as live captions on the other person's screen and is read aloud for them. Their speech comes back to you as captions, and it can be played back as fingerspelling.
  • Practice: drills with a positioning checklist that measure your real accuracy, time per letter, and the letters you mix up most.
  • Train: record your own hand in about 20 seconds per letter to personalize the model.
  • Accessibility settings: text size up to 200%, high contrast, a font designed for low vision, reduced motion, caption size, colours and position, voice and speed, hold time, larger buttons, and a list of keyboard shortcuts.

It recognizes ASL fingerspelling (A–Z), not full ASL sentences. The app says this clearly.

How I built it

Hand tracking: MediaPipe Hand Landmarker runs in the browser (WebAssembly), giving 21 3-D landmarks per frame. Video never leaves the device.

Normalization: each hand becomes 63 numbers that don't depend on where the hand is or how big it looks. With wrist \( p_0 \) and middle-finger knuckle \( p_9 \):

$$ \hat{p}_i = \frac{p_i - p_0}{\lVert p_9 - p_0 \rVert}, \qquad i = 0,\dots,20 $$

Left hands are mirrored so one model handles both hands.

Classification:

  • A small neural network (63 → 128 → 64 → 24) trained in Python with scikit-learn on landmarks extracted from 7,200 photos of the Kaggle ASL Alphabet dataset, then exported to JSON and run in TypeScript.
  • A k-nearest-neighbours model built from the user's own recordings. A hybrid uses your samples when they clearly match and the general model for everything else.
  • J and Z are drawn in the air, so they're recognized from the motion: sharp corners mean Z, a smooth hook means J, and dynamic time warping checks the movement was deliberate.

Safeguards against wrong output: an 8-frame smoothing vote, a hold-to-add timer, a penalty for unfamiliar hand shapes, and confidence bands. Below 45% the guess is ignored. From 45–75% the app asks "Did you sign…?". Only confident letters are added automatically. The signer can always edit the text before it's spoken.

Everything else: React + TypeScript + Vite, the Web Speech API for text-to-speech and live captions, and WebRTC (via PeerJS) for peer-to-peer calls, so there's no backend and no cost.

Challenges

  • Honest accuracy. The model scores 99.2% on held-out photos, but those photos come from the same few signers and backgrounds, so real-world accuracy is lower. Instead of advertising the big number, I added Practice, which measures accuracy on your hands, and made personalization quick.
  • Personalizing without breaking things. At first, recording one letter replaced the whole model and dropped accuracy across the alphabet to 3.6%. The hybrid classifier fixed that: with one recorded letter, accuracy stays at 97.8% and the recorded letter is still recognized every time.
  • Matching Python and the browser. Training happens in Python and inference in TypeScript, so normalization had to match exactly. Running the exported network in the browser on the same data gave the same results as scikit-learn.
  • J and Z. These are motions, not poses, so they needed their own time-series recognizer.
  • Calls without a server. Building one-to-one video calls that work from just a link, with live captions, without running any server of my own.

What I learned

  • How much of a "working" ML product is everything around the model: confidence handling, letting the user correct things, and being upfront about limits.
  • That dataset accuracy and real-world accuracy are different things, and that's worth saying out loud.
  • Accessibility has to be built in from the start, not added at the end.

What's next

  • Testing with Deaf and hard-of-hearing signers and collecting more varied training data (with consent).
  • Faster, continuous fingerspelling without holding each letter.
  • Common whole-word signs, not just fingerspelling.
  • A mobile app and group calls.

Built With

Share this project:

Updates

Submission history