TL;DR
Nearly a billion people suffer from sleep apnea, yet 80% go undiagnosed because the clinical gold standard requires sleeping in a lab tangled in wired sensors. Existing contactless alternatives (like Wi-Fi or radar) only track chest motion, missing a crucial physiological clue: during an obstructive apnea event, your chest keeps heaving even though your airway is completely blocked. ApneaEye uses a single, low-cost thermal camera in the dark to watch both chest motion and the tiny temperature shifts at your nostrils, matching clinical-grade respiratory tracking without touching the patient.
What Problem Does This Paper Address?
To diagnose sleep apnea, clinicians measure the Apnea–Hypopnea Index (AHI)—the number of paused (apnea) or shallow (hypopnea) breathing events per hour of sleep. Getting this number usually requires polysomnography (PSG): an expensive, uncomfortable overnight hospital stay involving nasal cannulas, chest belts, finger clips, and scalp electrodes.
Researchers have tried replacing PSG with contactless sensors like radar, sonar, Wi-Fi, and standard infrared cameras. However, these modalities all measure the same thing: body movement. Here is the catch: in obstructive sleep apnea (the most common form), the throat closes, stopping airflow, while the chest and abdomen continue fighting to breathe. To a motion-only sensor, suffocation looks remarkably like normal breathing.
Without directly measuring nasal airflow alongside chest effort, contactless systems are flying half-blind.
Methods
ApneaEye bridges this gap using a single commodity long-wave infrared (LWIR) thermal camera ($256 \times 192$ resolution) mounted at the foot of the bed, operating completely in the dark. Every breath leaves a thermal signature: inhaling cools the nostrils via evaporation, while exhaling releases a warm thermal plume.
Extracting clean signals over an eight-hour night of tossing and turning requires several clever steps:
- Hierarchical ROI Tracking: At low thermal resolutions, nostrils are tiny—roughly $9 \times 6$ pixels. A two-stage object detector (RT-DETR-L) first finds the face and chest, then zooms into the face crop to pinpoint the nostrils, using median filtering to stabilize jitter.
- Dual Nasal Signal Extraction: Simply averaging the nostril bounding box introduces noise from skin edges and motion. Instead, the authors extract two signals: (1) the mean of the top-6 pixels showing the strongest fluctuation in the human breathing frequency band (0.1–0.7 Hz), and (2) a learned nasal readout—a lightweight convolutional network trained against ground-truth PSG nasal pressure to predict relative breath amplitude.
- Thoracoabdominal Motion: Standard dense optical flow tracks the subtle rise and fall of heat patterns across the chest region.
- Graceful Fallback & Segmentation: Instead of classifying fixed 60-second chunks (which accidentally merges close events or splits long ones), a 1D U-Net segments apnea events second-by-second. Crucially, the network receives a binary "validity channel." When a sleeper rolls over or pulls up a blanket, hiding their nose, the model seamlessly falls back to chest motion.
- Auxiliaries: The system also uses frame-to-frame pixel differences (video actigraphy) with a BiGRU network to estimate Total Sleep Time, and a ConvNeXt-Tiny classifier to track sleep posture (supine, left, right).
Datasets
The authors collected a massive, custom clinical dataset featuring 261 patients (2,007 hours of synchronized thermal video and full hospital PSG) at a university sleep lab, containing 45,256 physician-scored respiratory events. This represents a more than $7\times$ scale-up over the closest prior contactless sonar and thermal studies. An additional 20-patient pilot dataset was used strictly to train the region-of-interest localizer.
Key Insights and Ideas
- Intermittent airflow data still wins: Sleeping humans move. Across the cohort, nostrils were visible for 75.3% of sleep time. Yet, even on nights where nostrils were visible less than 50% of the time, adding thermal airflow still beat chest motion alone. Why? Because 74.7% of apnea events happen when patients sleep on their backs (supine)—the exact posture where the camera has a great view of the nose (84.2% visibility).
- Segmentation beats windowing: Predicting event probabilities at 1 Hz resolution avoids the classic trap of fixed-time windows, where three short apneas in one minute get miscounted as a single event.
- The Hypopnea Ceiling: Thermal video alone struggles slightly more with hypopneas (65% accuracy) than full apneas (70%). By clinical definition, scoring a hypopnea often requires seeing a $\ge 3\%$ drop in blood oxygen ($\text{SpO}_2$), which a thermal camera physically cannot see. Pairing the camera with a simple pulse oximeter closes this gap completely.
Key Results
- Severity Staging: Adding nasal airflow to chest motion boosts exact 4-class apnea severity classification by 8.7 percentage points (to 62.1%), placing 93.3% of patients within one severity band of clinical PSG.
- AHI Estimation: ApneaEye achieves an AHI Mean Absolute Error (MAE) of 9.7 events/hour (improving on 11.5 events/h for thermal chest motion alone), nearly matching the 9.6 events/h achieved by physical PSG contact belts.
- Hybrid Oximetry: Combining ApneaEye with PSG $\text{SpO}_2$ drops the AHI MAE to 6.8 events/hour (ICC = 0.919), virtually tying the full contact-sensor PSG baseline (6.9 events/hour).
- Posture & Sleep Time: Thermal body pose classification hits 94.7% accuracy, enabling detection of Positional OSA with 74.2% accuracy. Video-estimated sleep duration swapped into the pipeline barely budges AHI error (9.78 vs. 9.83 MAE).
Limitations and Future Work
- Controlled Environment: All recordings took place in a hospital sleep lab with technicians setting up the camera and single occupants in bed. Unsupervised home setups—complete with pets, bed partners, and thick duvets—remain untested.
- Event Subtypes: Central sleep apnea (where the brain temporarily stops sending signals to breathe) made up just ~1% of events (525 out of 45,256), preventing the training of a reliable obstructive-vs-central subtype classifier.
- Next Steps: The authors plan to test ApneaEye in multi-night, unsupervised home deployments, build automated real-time feedback to help users aim the camera, and pair the thermal camera with a commodity wearable (like a smartwatch or ring) to supply the missing $\text{SpO}_2$ signal.
Summary updated