Safe self-calibrating drowsiness detection from eye openness alone
A driver monitor that learns each new driver's eyes online, without labels, without manual calibration and without assuming the driver starts alert. The models stay frozen; only a small, guarded eye profile adapts, so the system cannot learn drowsiness as "normal". Every number on this page comes from drivers the system never saw in training.
Results on unseen drivers
Leave-one-driver-out over the 4 drivers of the reference dataset (mean over held-out drivers). Level 1 = CHECK DRIVER (official warning status); level 2 = ALARM, confirmed by visible eye evidence. FAR = share of alert frames with a warning.
How it works
1 · Measure
The eye aspect ratio (lid height ÷ eye width) at 30 fps, with a quality check for missing frames and spikes. Causal features over 0.5–60 s: blink rate and duration, closure runs, PERCLOS-style shares.
2 · Self-calibrate
A histogram of the driver's own eyes gives their open level (90th percentile) and closed level (median blink bottom). It needs no labels and works even if the drive starts drowsy, because drowsy drivers still open their eyes fully between closures.
3 · Guard
Frozen models, rollback when the frozen anchor keeps alarming while the baseline sinks, a profile bank for returning drivers, and a soft reset for a new face: adaptation can help but cannot silence a warning.
4 · Decide
Calibrated probability, ensemble spread and a conformal set give the uncertainty. Two warning levels: CHECK DRIVER on model risk, ALARM only with visible eye evidence, a microsleep or sustained narrowing.
5 · Evaluate honestly
Leave-one-driver-out on the reference data, twelve stress scenarios (drowsy starts, drift, eye size, noise, missing data, driver switch and return), and self-tests for causality and the never-suppress rule.
6 · Run anywhere
CPU only, about a tenth of a millisecond per frame. In the live test the face landmarks run in the browser and only the eye-openness numbers reach the server, never the video.
Try it
Dataset replay
Replay held-out drivers with their eyes, the warnings and the learned baseline. Includes drowsy starts, long drowsiness, glasses changes and a returning driver.
Live webcam test
Eye landmarks run in your browser; only the eye-openness numbers reach the server. Watch it learn your eyes, with and without adaptation side by side.
Limitations
- Only 4 drivers with acted drowsiness and clip-level labels; per-driver results vary by about ±0.1 AUROC.
- About a quarter of drowsy frames (yawning, nodding) are invisible to the eyes; level-1 warnings remain frequent on some alert clips.
- A fully personalised profile takes about 1.5–2 minutes; protection (microsleep, sustained narrowing) is active from the first frame.
- This is a validated algorithm design, not an in-vehicle product: a car needs an infrared camera, embedded code, more signals and validation on hundreds of drivers.