Inspiration
Everyone has something to say. Not everyone has a way to say it.
People communicate in many different ways. For people with autism, cerebral palsy, aphasia, motor impairments, or other complex communication needs, the tools built to help are often rigid, hard to customize, and expensive to access.
We asked one question: what if the interface adapted to the person, instead of the person adapting to the interface?
That question became WispVoice: an accessibility-first AAC (Augmentative and Alternative Communication) platform with one promise, communicate your way.
What it does
WispVoice gives people many ways to speak, in one platform:
👻 GhostCursor (hands-free control): move the cursor with your nose, blink to click, and move your nose near the top or bottom of the screen to scroll. A calibration flow learns your neutral position and your adaptive blink threshold.
🗂️ AAC symbol boards: import, preview, search, and navigate Open Board Format (
.obf/.obz) boards, then tap symbols to build a sentence.💡 Contextual suggestions: select bottle and get water · drink · open · cold · more · please.
✏️ SketchSpell: draw an object, send it for analysis, and turn the recognized object into a word in your sentence.
🤖 AI sentence assistance: I · want · outside becomes "I want to go outside, please." The AI helps, and the user always controls the final sentence.
🔊 Voice output: sentences are spoken aloud.
🚨 Emergency communication: choose I need help, I'm in pain, Call my caregiver, or Medical emergency. WispVoice sounds a repeating siren, speaks the phrase, and sends a caregiver WhatsApp message until the alert is stopped.
Always visible feedback: the user can see where the nose pointer is, whether both eyes are open or closed, when a blink click is detected, and whether tracking is active.
How we built it
Frontend: React, TypeScript, Vite, Tailwind CSS, and Framer Motion, with MediaPipe Face Landmarker and Face Mesh for in-browser face tracking.
Native cursor controller (Windows): Python, OpenCV, MediaPipe, and PyAutoGUI. MediaPipe landmarks drive the nose pointer and blink detection.
Backend: Flask and Flask-CORS with a provider-neutral AI layer, so it works with Azure OpenAI, Gemini, or Grok/xAI-compatible APIs. Credentials stay server-side in environment variables and are never committed.
Alerts and voice: Twilio WhatsApp for caregiver messages, and the browser Speech Synthesis API for spoken output.
Blink detection relies on the eye aspect ratio (EAR), which compares how open the eye is to its width:
$$\mathrm{EAR} = \frac{\lVert p_2 - p_6 \rVert + \lVert p_3 - p_5 \rVert}{2\,\lVert p_1 - p_4 \rVert}$$
When EAR drops below the user's calibrated threshold, and passes a debounce check, a blink click is confirmed.
Built with Kiro:
- Vibe coding: designed GhostCam calibration, board navigation, SketchSpell, suggestions, emergency flows, and responsive layouts through conversation.
- 🪝 Agent hooks: reusable patterns for camera lifecycle, gesture states, blink detection, drawing, speech, and emergency behavior.
- Specs: defined behavior first for camera onboarding, calibration, blink confirmation, OBF loading, suggestions, drawing analysis, and caregiver alerts.
- Steering docs: documented architecture, camera limits, AI and Twilio setup, privacy and safety, and demo steps.
- MCP and documentation research: MediaPipe landmark behavior, EAR thresholds, blink debounce, PyAutoGUI cursor control, AAC prediction patterns, and Open Board Format examples.
- Visual iteration: light and Halloween night themes, neon accents, resizable panels, a movable GhostCam, siren visibility, and mute controls.
Challenges we ran into
- Telling a deliberate blink from a natural one. One fixed threshold doesn't fit every face or camera. We solved it with a calibration flow that learns each user's neutral position and an adaptive blink threshold, plus debounce behavior so one blink gives one click.
- Choosing the right nose landmark and thresholds. We researched MediaPipe landmark behavior to decide how to track the nose and where EAR thresholds should sit.
- Camera ownership. The browser camera and the native cursor controller both need the webcam, which creates limits on how they can run together. We documented these limitations in our steering docs.
- A drawing canvas that works on any screen. SketchSpell uses pointer capture and coordinate scaling so strokes land where the user draws, across different screen sizes.
- Not locking users into one AI vendor. We built a provider-neutral backend so Azure OpenAI, Gemini, or Grok/xAI-compatible APIs can be swapped in.
- Making emergencies reliable and safe. The alert has to keep ringing until stopped, and the secrets behind it have to stay protected, so credentials live server-side only.
- Keeping many interaction modes consistent. Hooks and specs kept our camera, gesture, drawing, speech, and emergency logic aligned as the app grew.
Accomplishments that we're proud of
- A full hands-free path: nose to cursor, blink to click, symbols to a sentence, sentence to voice, in one flow.
- Real AAC standards support: import and use Open Board Format
.obfand.obzboard collections. - Several ways to communicate in one app: boards, drawing, AI assistance, hands-free control, voice, and emergency alerts.
- An emergency layer that does more than display text: siren, spoken phrase, and a caregiver WhatsApp message.
- A design where the user stays in control. The AI suggests, and the user decides.
- Clear documentation of architecture, setup, privacy, and safety, so the project is easier to run, explain, and maintain.
What we learned
- Accessibility is not a feature. It's an interaction system. One user may need to use a board, draw an idea, move a cursor with their nose, blink to confirm, hear feedback, send an emergency message, and switch back to a mouse or keyboard, all in a day.
- Calibration matters more than cleverness. A system that fits the person beats one with a clever default.
- AI should assist, not speak for the user.
- Writing specs first keeps you focused on the user journey instead of the technology.
What's next for WispVoice: Communicate Your Way
- Nose-controlled drawing with blink-based pen-down and pen-up
- Better personalized word prediction
- Caregiver-configurable emergency templates
- More Open Board Format metadata support
- Multi-user profiles
- Offline sentence prediction
- User testing with AAC users, caregivers, and speech-language professionals, because a tool like this only becomes real when the people it's meant for shape it.
"Nothing about us without us."
WispVoice: communicate your way. 👻
