Your brain drifts. We catch it first.
Not to judge attention - but to watch it, understand it, and speak up early enough to matter.
Capture the Signal
Two dry electrodes placed on the forehead (Fp1-Fp2) pick up the brain electrical activity. An Arduino reads this signal and streams it to a Python backend over USB. No gel, no lab, no technician fully wearable and portable.
Clean the Signal
Every 2 seconds, 512 raw samples are filtered using a stateful bandpass filter (0.5-40 Hz) to remove DC drift and noise, plus a 50 Hz notch filter for power line interference. A Signal Quality Index is computed per window to measure how trustworthy the data is.
Extract 9 Features
The cleaned window is converted into 9 numbers capturing the brain state: Theta power, Alpha power, Beta power, Theta/Alpha ratio, SEF95, Line Length, Hjorth Mobility, Hjorth Complexity, and an Artifact Flag.
Score and Detect Drift
A neural network scores the 9 features from 0 to 1. The last 30 scores, 60 seconds of history, are then fed into an LSTM which detects whether the sequence is gradually declining. This two-stage approach catches drift that any single window score would miss entirely.
Zone and Alert
The Zone Engine classifies the current state as IN_ZONE, UNSTABLE, DRIFTING, or DEGRADED using a fast EMA band and a slow soft baseline simultaneously. Alerts fire progressively. The dashboard updates via WebSocket all within 500ms.
Theta Waves
Rise with fatigue and mind-wandering. The primary biological marker of attention drift strongest in the frontal lobe directly behind the forehead.
Alpha Waves
Rise when the brain is idle and disengaged. Combined with theta, the Theta/Alpha Ratio is the most peer-validated EEG marker of cognitive fatigue.
Beta Waves
Present during active thinking and alertness. Drop during drowsiness confirming what theta and alpha are already suggesting about cognitive state.
Session Calibration
First 60 seconds of every session, the system learns your personal brain baseline: your mean, variance, and normal range. Everything is measured relative to you, never a population average.
Cross-Session Memory
After each session your baseline statistics are saved. Next session, the system loads your profile and starts smarter. The more you use it, the more accurate it gets over time.
Dynamic Adaptation
A fast EMA band tracks where your attention is right now. A slow soft baseline remembers your peak capability from calibration. Together they ensure the system never accepts poor attention as your new normal.
EEG Electrodes
Arduino
Python Backend
Bandpass Filter
Multitaper PSD
9 Features + SQI
Neural Network
Monte Carlo Dropout
LSTM Autoencoder
Zone Engine
WebSocket
Live Dashboard

Aditya
Software Engineer

Satvik
Software Engineer

Aayushman
Software Engineer

Deepanjana
Software Engineer

Jaanvi
Software Engineer