Distinguishing Obstructive Versus Central Apneas in Infrared Video of Sleep Using Deep Learning: Validation Study

Sina Akbarian, Nasim Montazeri Ghahjaverestan, Azadeh Yadollahi, Babak TaatiJournal of Medical Internet Research 2020 · DOI

Abstract

In this study, the first vision-based method was developed that differentiates apnea types (OA vs CA). The developed algorithm tracks and analyses chest and abdominal movements captured via an IR video camera. Unlike previously developed approaches, this method does not require any attachment to a user that could potentially alter the sleeping condition.

Introduction

Sleep apnea affects approximately 10% of the population, significantly increasing risks for cardiovascular disease and stroke. Clinical management depends heavily on distinguishing between Obstructive Sleep Apnea (OSA)—where physical blockages occur despite respiratory effort—and Central Sleep Apnea (CSA)—where the brain fails to signal respiratory muscles.

Current diagnostic standards rely on invasive or contact-based sensors like esophageal catheters or Respiratory Inductance Plethysmography (RIP) bands. These can be uncomfortable and may disrupt natural sleep patterns. This study validates a noncontact, vision-based system using infrared (IR) video and deep learning to classify apnea types with high accuracy.

Comparison of respiratory signals (Chest, Abdomen, and Sum) across normal breathing, obstructive apnea, and central apnea conditions.

Methodology

The proposed system utilizes a multi-stage pipeline to transform raw video data into clinical classifications:

  1. Data Acquisition: Overnight IR video was recorded at 30 fps and downsampled to 2 Hz to capture the essential dynamics of breathing (12–25 breaths per minute) while optimizing computational efficiency.
  2. Motion Extraction: Optical flow was generated using FlowNet 2.0 to isolate pixel-level displacement ($x$ and $y$) between frames. This step effectively removes static background information, focusing solely on movement.
  3. Deep Learning Architecture: A 3D Convolutional Neural Network (3D-CNN) was employed to process sequences of optical flow frames. Unlike 2D models, the 3D-CNN captures both spatial patterns (chest/abdomen location) and temporal rhythms (breathing phase) over 10-second windows.
  4. Automated Localization: To ensure a "plug-and-play" capability, the researchers integrated YOLO v3 with random forest regression to automatically identify the chest and abdominal regions within the video frame.

Experimental Validation

The study involved 42 participants (mean age 53) monitored in a laboratory setting. Ground truth was established by three experts using traditional Polysomnography (PSG). To ensure environmental robustness, the model was trained on data from one room and tested exclusively on data from a second, distinct room.

Results and Discussion

The 3D-CNN model achieved a classification accuracy of 95.4% and an F1-score of 88.7%, significantly outperforming traditional computer vision baselines such as autocorrelation (88.4%) and movement histograms (88.5%).

Key Insights

  • Blanket Propagation: Counter-intuitively, the model performed better when analyzing the full video frame rather than tightly cropped regions. Blankets appear to act as a physical amplifier, propagating subtle respiratory movements across a larger surface area.
  • Phase Detection: The 3D-CNN's superior performance is attributed to its ability to detect "out-of-phase" movements. During obstructive events, the chest and abdomen often move paradoxically as the body struggles against a blockage—a pattern the temporal layers of the 3D-CNN are specifically designed to recognize.

Conclusion

This validation study demonstrates that deep learning applied to IR video can accurately differentiate between obstructive and central apneas without physical contact. While current results rely on pre-segmented events, future work will focus on real-time detection and deployment on edge devices for home-based monitoring. This technology represents a significant step toward making sleep diagnostics more accessible and less intrusive.

Summary updated

Abstract

In this study, the first vision-based method was developed that differentiates apnea types (OA vs CA). The developed algorithm tracks and analyses chest and abdominal movements captured via an IR video camera. Unlike previously developed approaches, this method does not require any attachment to a user that could potentially alter the sleeping condition.
BibTeX
@article{akbarian2020distinguishing,
  author = {Sina Akbarian and Nasim Montazeri Ghahjaverestan and Azadeh Yadollahi and Babak Taati},
  title = {{Distinguishing Obstructive Versus Central Apneas in Infrared Video of Sleep Using Deep Learning: Validation Study}},
  journal = {Journal of Medical Internet Research},
  year = {2020},
  doi = {10.2196/17252},
}
Figure