Back to All Projects

Knowing When to Trust Your Eyes: Smarter Blink Detection for Fatigue Monitoring

By Jasmun Banwait & Dr. Sheng Yang · Submitted to IEEE Transactions on Human-Machine Systems

Overview of the PRECNet eye state correction framework

The Problem

Detecting fatigue and drowsiness from eye movement is one of the most promising approaches for driver safety, factory monitoring, and human-computer interaction. The most widely used tool for this is the Eye Aspect Ratio (EAR) — a simple calculation of how open or closed the eye is based on facial landmark points detected by a camera.

The problem is that EAR is fragile. The moment a person turns their head, blinks during a glare, or is recorded under poor lighting, the facial landmark detection becomes unreliable — and EAR gives a completely wrong reading. A closed eye can appear open, and a blink can be missed entirely. In safety-critical applications like driver drowsiness detection, these errors can have serious consequences.

Our Solution

We developed PRECNet (Phase-Reliability EAR Correction Network), a system that continuously asks: "can I trust the EAR reading right now?" — and if not, intelligently corrects it using what a blink should look like based on learned patterns.

PRECNet works by combining two sources of information: the raw EAR geometric signal, and a CNN that independently looks at the eye image to assess whether the eye appears open or closed. A causal transformer then fuses these over time and estimates a reliability score for each frame and a blink phase — where in the blink cycle the eye currently is. When EAR is reliable, the system uses it directly. When it isn't (during head rotation, glare, or landmark jitter), it smoothly blends toward a learned blink profile, producing a corrected signal that remains physiologically realistic even when the raw input is misleading.

Key Outcomes

  • Robust to head movement: When a participant rotates their head while blinking, raw EAR incorrectly rises (suggesting the eye is opening) — PRECNet correctly maintains a closed-eye signal throughout, then smoothly realigns with EAR once the head stabilizes.
  • Resistant to lighting distortion: Under mild, moderate, and severe lighting conditions (glare, shadow, sensor noise, motion blur), PRECNet maintains Pearson correlations above 0.80 with the clean signal — consistently outperforming raw EAR, which degrades to 0.75 under severe conditions.
  • No labeled training data required: PRECNet is trained entirely on unlabeled real-world video using a physics-inspired multi-objective loss function — making it practical to deploy without expensive annotation pipelines.
  • Interpretable and explainable: The blending weight β and blink phase φ are visible, meaningful signals that reveal exactly when and why the system is applying correction — unlike black-box neural networks.
  • Strong base classifier: The underlying CNN eye classifier achieves an F1 score of 0.99 in distinguishing open from closed eyes, providing a reliable foundation for the correction framework.

Applications

PRECNet is designed for any scenario where reliable, continuous eye state monitoring matters:

  • Driver Drowsiness Detection: Accurately track blink frequency and eye closure in moving vehicles where head pose constantly changes and lighting conditions vary — the exact scenario where conventional EAR fails most.
  • Manufacturing & Industrial Safety: Monitor worker alertness on production lines where overhead lighting, protective equipment, and movement create challenging visual conditions for standard facial landmark systems.
  • Human-Computer Interaction: Enable reliable eye-gesture communication for users with motor impairments, where erroneous blink detections could trigger unintended commands.
  • Medical Diagnostics: Support screening for conditions like Parkinson's disease — where reduced blink frequency is a diagnostic marker — with a more robust and continuous measurement than static threshold-based EAR.

Gallery

About the Authors

JB

Jasmun Banwait

SY

Dr. Sheng Yang