Everglow

Keeping connections alive when memory fades.

Repo
Everglow banner

About

## The problem it solves

The Problem

Over 55 million people worldwide live with Alzheimer's disease and related dementias, facing progressive cognitive decline that manifests in three critical ways:

  • **Spatial Disorientation and Lost Items** — Difficulty locating daily essentials (medication, reading glasses, mobility aids) creates chronic anxiety and increases the risk of domestic accidents.
  • **Social Agnosia and Alienation** — Inability to recognize family members or recall recent conversations undermines emotional connection and personal dignity.
  • **Medication Non-Adherence and Caregiver Burnout** — Missed or duplicated dosages, combined with unmonitored physical distress, place significant psychological strain on families and clinical caregivers.

## How Everglow Addresses This

Everglow is an ambient, voice-first spatial AI care system designed to function as a continuous cognitive safety net.

**3D Spatial Scene Graph and Object Retrieval** Using DepthAnything monocular depth estimation and 3D scene graph construction, Everglow maps the living space and grounds its responses in physical landmarks. When a resident asks, "Where are my glasses?", the system responds with precise spatial guidance (e.g., "On the lower shelf of the wooden coffee table beside the lamp").

**Visitor Recognition with AR Identification** An on-device ArcFace ONNX model paired with a YuNet detector identifies visitors in real time, with no cloud dependency. The system displays an AR overlay showing the visitor's name, relationship, and a summary of their last visit, along with a spoken audio recall of shared memories.

**Multilingual Voice Companion ("Saya")** Built on Sarvam AI's saaras:v3 (ASR) and bulbul:v3 (TTS) models, Saya converses fluently in Malayalam, Tamil, Telugu, Kannada, Hindi, and Indian English, including mid-sentence code-mixing, enabling natural conversation in the patient's native language.

**Proactive Telephony and Clinical Documentation** Using Twilio Voice and TwiML, Everglow places scheduled check-in calls to the patient's phone. Each conversation is automatically summarized into a structured clinical SOAP note (Subjective, Objective, Assessment, Plan) and scored for cognitive stability risk, for review by attending physicians.

**Medication Safety and Escalation**

The system combines medication scheduling with Actian Vector AI-powered drug interaction lookups. Missed doses or signs of distress trigger automated n8n workflows that escalate alerts through ambient chimes, phone calls, and WhatsApp notifications as needed.

**Proof-of-Care and Digital Memory Preservation** Daily routine adherence is incentivized through $GLOW Care Tokens on Solana Devnet, while family stories and photos are preserved as compressed NFTs (cNFTs) in a personal digital keepsake vault.

## Challenges we ran into

### 1. Zero-Latency ArcFace Recognition & Real-Time Canvas Rendering * **The Hurdle:** Running continuous real-time face detection on live camera streams caused severe browser frame lag when uploading raw video frames. Furthermore, slight changes in ambient lighting and camera angles caused embedding drift in OpenCV ArcFace (`w600k_r50.onnx`), leading to occasional false positives with unregistered visitors. * **How We Solved It:** We decoupled the vision pipeline by deploying an asynchronous FastAPI edge daemon (`explorer/face_service.py`). We throttled video frame processing via an adaptive frame-sampling rate on the Next.js canvas, and rigorously calibrated the YuNet detector confidence and ArcFace cosine similarity threshold ($\ge 0.38$). We also wrote a dedicated sync script (`sync_faces.py`) to keep local 512-D vector caches in lockstep with Supabase storage without blocking the UI.

---

### 2. Twilio Telephony Webhook Ingestion & Audio Transcoding for Regional ASR * **The Hurdle:** Twilio’s PSTN voice webhooks require accessible public HTTPS/WSS endpoints and stream audio in raw $\mu$-law / PCM formats. Sarvam AI's `saaras:v3` ASR engine expects standard 16kHz linear WAV payloads. During local development, tunnels would expire and TwiML voice loops would fail silently due to audio header mismatches. * **How We Solved It:** We engineered automated tunnel dispatchers (`update_twilio_tunnel.py` and `check_twilio_errors.py`) and implemented an in-memory audio transcoding pipeline that strips raw telephony headers, converts sample rates to 16kHz mono WAV on the fly, and routes the stream directly to Sarvam. This unlocked zero-cost, multi-turn phone calls with sub-second response times.

---

### 3. Metric 3D Grounding from Monocular Depth (DepthAnything) * **The Hurdle:** Monocular depth models (DepthAnything) output relative inverse disparity maps rather than metric physical distances. When residents asked *"Where are my glasses?"*, converting 2D bounding boxes into accurate 3D room coordinates resulted in floating or incorrectly scaled bounding boxes. * **How We Solved It:** We combined monocular depth maps with COLMAP/HLOC visual odometry and ground-plane calibration (`data/calc_bboxes.py`, `scenegraph/`). By estimating focal length intrinsics and referencing known landmark anchors in the GLB scene, we projected pixel coordinates into metric $(X, Y, Z)$ centroid vectors, allowing Saya to provide precise directions (*"on the lower shelf, 2 feet to the right of the water jug"*).

---

### 4. Handling Regional Dialects & Mid-Sentence Code-Switching * **The Hurdle:** Dementia residents often speak in their native tongue (Malayalam, Tamil, Telugu, Hindi) while interspersing English medical or household terms (e.g. *"Ente tablet table-il undo?"*). Standard single-language models either crashed or transcribed English loanwords as garbled phonetic regional script. * **How We Solved It:** We integrated Sarvam AI’s bilingual Indic acoustic models with prompt-guided GPT-4o-mini reasoning. We structured the conversational pipeline to perform automatic language detection on the fly, allowing Saya to reply in the user's preferred language while correctly identifying English keywords.

---

### 5. Web3 Account Abstraction for Elderly Users on Solana * **The Hurdle:** Requiring dementia patients or elderly caregivers to install browser wallet extensions (like Phantom) and sign gas fees created extreme friction and defeated the purpose of an ambient assistant. * **How We Solved It:** We built a custodial account abstraction layer (`everglow-chat/lib/solana-real.ts`). Patient keypairs are securely derived and managed on the server, allowing the system to autonomously execute Anchor smart contract instructions and mint Living Memory cNFTs on Solana Devnet without the patient ever having to see a transaction prompt.

Screenshots

Everglow screenshot 1Everglow screenshot 2Everglow screenshot 3Everglow screenshot 4

Team

From the public Devfolio project page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.