Non-Contact Spirometry Using a Mobile Thermal Camera and AI Regression

Sensors (Basel). 2021 Nov 15;21(22):7574. doi: 10.3390/s21227574.

Abstract

Non-contact physiological measurements have been under investigation for many years, and among these measurements is non-contact spirometry, which could provide acute and chronic pulmonary disease monitoring and diagnosis. This work presents a feasibility study for non-contact spirometry measurements using a mobile thermal imaging system. Thermal images were acquired from 19 subjects for measuring the respiration rate and the volume of inhaled and exhaled air. A mobile application was built to measure the respiration rate and export the respiration signal to a personal computer. The mobile application acquired thermal video images at a rate of nine frames/second and the OpenCV library was used for localization of the area of interest (nose and mouth). Artificial intelligence regressors were used to predict the inhalation and exhalation air volume. Several regressors were tested and four of them showed excellent performance: random forest, adaptive boosting, gradient boosting, and decision trees. The latter showed the best regression results, with an R-square value of 0.9998 and a mean square error of 0.0023. The results of this study showed that non-contact spirometry based on a thermal imaging system is feasible and provides all the basic measurements that the conventional spirometers support.

Keywords: artificial intelligence regression; non-contact spirometry; respiration rate mobile application; respiration signal; thermal camera.

MeSH terms

  • Artificial Intelligence*
  • Exhalation
  • Humans
  • Respiration*
  • Respiratory Rate
  • Spirometry