Independent project · grade 12

A wearable EEG beanie for children with epilepsy

A child with epilepsy is usually monitored in a hospital. My beanie carries eight EEG electrodes and runs a seizure-detection model on a Raspberry Pi, so the monitoring can happen at home.

  1. 01

    Beanie

    Eight electrodes, laid out to match the hospital montage.

  2. 02

    Raspberry Pi

    Reads the signal and runs the model on the device.

  3. 03

    Model

    Trained on CHB-MIT, pediatric recordings from Boston Children's Hospital.

  4. 04

    Alarm

    Tells a parent when a seizure starts.

90%Detection accuracy

0.77False alarms per hour

Where it stands

The model works on recorded data. The hardware is harder: I'm still solving electrode contact, signal noise and motion. I'm entering the project in a science competition.

The mistake that changed how I test

For months I reported one accuracy number. Then I checked when each detection happened. Nearly half of the correct ones came after the seizure had already begun, which is too late to help a parent.

I rebuilt my evaluation around three measures:

  • Sensitivity: how many seizures the model catches
  • False alarms per hour: how often it wakes a family for nothing
  • Detection delay: how long after onset the alarm fires

Interactive simulation

Try the trade-off I test for

Lower the threshold and the alarm fires sooner, but bumping the beanie sets it off. Raise it and the false alarms stop, but the alarm comes later, or not at all.

Simulated EEG · 8 channelsPaused
0 / 0
Seizures caught
0
Seizures missed
0
False alarms
-
Average detection delay

This is a simulation. The signal is generated in your browser and the detector is a simple energy threshold, not my trained model and not patient data. It shows why one accuracy number was not enough.

Other things I have built

Two smaller projects

The beanie is my main project. These two came from the same habit: when I see a problem I can reach with code, I try to build something for it.

Grade 12 · Personal project

Calorie tracker app

Counting calories by hand means looking up every food and typing it in. My app lets you take a photo of a meal instead, and an AI model estimates the calories from the image.

2024 to now · HOSA at Lambert High School

LifeMatch website

LifeMatch is a HOSA subcommittee that helps pre-med students find real medical exposure, such as volunteer opportunities. Our team researched the opportunities and designed the site and its logo. I built three of its pages, including the contact and help page, and I fix its technical issues.

Next pageCoursework and clinical training