Skip to main content
Log in

Respiratory Rate Estimation from the Built-in Cameras of Smartphones and Tablets

  • Published:
Annals of Biomedical Engineering Aims and scope Submit manuscript

Abstract

This paper presents a method for respiratory rate estimation using the camera of a smartphone, an MP3 player or a tablet. The iPhone 4S, iPad 2, iPod 5, and Galaxy S3 were used to estimate respiratory rates from the pulse signal derived from a finger placed on the camera lens of these devices. Prior to estimation of respiratory rates, we systematically investigated the optimal signal quality of these 4 devices by dividing the video camera’s resolution into 12 different pixel regions. We also investigated the optimal signal quality among the red, green and blue color bands for each of these 12 pixel regions for all four devices. It was found that the green color band provided the best signal quality for all 4 devices and that the left half VGA pixel region was found to be the best choice only for iPhone 4S. For the other three devices, smaller 50 × 50 pixel regions were found to provide better or equally good signal quality than the larger pixel regions. Using the green signal and the optimal pixel regions derived from the four devices, we then investigated the suitability of the smartphones, the iPod 5 and the tablet for respiratory rate estimation using three different computational methods: the autoregressive (AR) model, variable-frequency complex demodulation (VFCDM), and continuous wavelet transform (CWT) approaches. Specifically, these time-varying spectral techniques were used to identify the frequency and amplitude modulations as they contain respiratory rate information. To evaluate the performance of the three computational methods and the pixel regions for the optimal signal quality, data were collected from 10 healthy subjects. It was found that the VFCDM method provided good estimates of breathing rates that were in the normal range (12–24 breaths/min). Both CWT and VFCDM methods provided reasonably good estimates for breathing rates that were higher than 26 breaths/min but their accuracy degraded concomitantly with increased respiratory rates. Overall, the VFCDM method provided the best results for accuracy (smaller median error), consistency (smaller interquartile range of the median value), and computational efficiency (less than 0.5 s on 1 min of data using a MATLAB implementation) to extract breathing rates that varied from 12 to 36 breaths/min. The AR method provided the least accurate respiratory rate estimation among the three methods. This work illustrates that both heart rates and normal breathing rates can be accurately derived from a video signal obtained from smartphones, an MP3 player and tablets with or without a flashlight.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6

Similar content being viewed by others

References

  1. Allison, R., E. Holmes, and J. Nyboer. Volumetric dynamics of respiration as measured by electrical impedance plethysmography. J. Appl. Physiol. 19:166–173, 1964.

    CAS  PubMed  Google Scholar 

  2. Chon, K. H., S. Dash, and K. Ju. Estimation of respiratory rate from photoplethysmogram data using time–frequency spectral estimation. Biomed. Eng. IEEE Trans. 56:2054–2063, 2009.

    Article  Google Scholar 

  3. Fieselmann, J. F., M. S. Hendryx, C. M. Helms, and D. S. Wakefield. Respiratory rate predicts cardiopulmonary arrest for internal medicine inpatients. J. Gen. Intern. Med. 8:354–360, 1993.

    Article  CAS  PubMed  Google Scholar 

  4. Grimaldi, D., Y. Kurylyak, F. Lamonaca, and A. Nastro. Photoplethysmography detection by smartphone’s videocamera. In: The 6th IEEE International Conference on Intelligent Data Acquisition and Advance Computing Systems: Technology and Applications, 2011.

  5. Hasselgren, M., M. Arne, A. Lindahl, S. Janson, and B. Lundbäck. Estimated prevalences of respiratory symptoms, asthma and chronic obstructive pulmonary disease related to detection rate in primary health care. Scand. J. Prim. Health Care 19:54–57, 2001.

    Article  CAS  PubMed  Google Scholar 

  6. Hirsch, J., and B. Bishop. Respiratory sinus arrhythmia in humans: how breathing pattern modulates heart rate. Am. J. Physiol. Heart Circ. Physiol. 241:H620–H629, 1981.

    CAS  Google Scholar 

  7. Lee, J., and K. Chon. Respiratory rate extraction via an autoregressive model using the optimal parameter search criterion. Ann. Biomed. Eng. 38:3218–3225, 2010.

    Article  CAS  PubMed  Google Scholar 

  8. Lee, J., and K. H. Chon. An autoregressive model-based particle filtering algorithms for extraction of respiratory rates as high as 90 breaths per minute from pulse oximeter. Biomed. Eng. IEEE Trans. 57:2158–2167, 2010.

    Article  Google Scholar 

  9. Lee, J., and K. H. Chon. Time-varying autoregressive model-based multiple modes particle filtering algorithm for respiratory rate extraction from pulse oximeter. Biomed. Eng. IEEE Trans. 58:790–794, 2011.

    Article  Google Scholar 

  10. Lee, J., J. P. Florian, and K. H. Chon. Respiratory rate extraction from pulse oximeter and electrocardiographic recordings. Physiol. Meas. 32:1763, 2011.

    Article  PubMed  Google Scholar 

  11. Leonard, P., T. Beattie, P. Addison, and J. Watson. Standard pulse oximeters can be used to monitor respiratory rate. Emerg. Med. J. 20:524–525, 2003.

    Article  CAS  PubMed Central  PubMed  Google Scholar 

  12. Leonard, P. A., D. Clifton, P. S. Addison, J. N. Watson, and T. Beattie. An automated algorithm for determining respiratory rate by photoplethysmogram in children. Acta Paediatr. 95:1124–1128, 2006.

    Article  PubMed  Google Scholar 

  13. Leonard, P., N. R. Grubb, P. S. Addison, D. Clifton, and J. N. Watson. An algorithm for the detection of individual breaths from the pulse oximeter waveform. J. Clin. Monit. Comput. 18:309–312, 2004.

    Article  PubMed  Google Scholar 

  14. Liu, H., Y. Wang, and L. Wang. A review of non-contact, low-cost physiological information measurement based on photoplethysmographic imaging. Conf. Proc. IEEE Eng. Med. Biol. Soc. 2012. doi:10.1109/EMBC.2012.6346371.

    Google Scholar 

  15. Lu, S., K. H. Ju, and K. H. Chon. A new algorithm for linear and nonlinear ARMA model parameter estimation using affine geometry. Biomed. Eng. IEEE Trans. 48:1116–1124, 2001.

    Article  CAS  Google Scholar 

  16. Mason, K. P., P. E. Burrows, M. M. Dorsey, D. Zurakowski, and B. Krauss. Accuracy of capnography with a 30 foot nasal cannula for monitoring respiratory rate and end-tidal CO2 in children. J. Clin. Monit. Comput. 16:259–262, 2000.

    Article  CAS  PubMed  Google Scholar 

  17. McManus, D. D., J. Lee, O. Maitas, N. Esa, R. Pidikiti, A. Carlucci, J. Harrington, E. Mick, and K. H. Chon. A novel application for the detection of an irregular pulse using an iPhone 4S in patients with atrial fibrillation. Heart Rhythm 10:315–319, 2013.

    Article  PubMed Central  PubMed  Google Scholar 

  18. Rantonen, T., J. Jalonen, J. Grönlund, K. Antila, D. Southall, and I. Välimäki. Increased amplitude modulation of continuous respiration precedes sudden infant death syndrome:–Detection by spectral estimation of respirogram. Early Hum. Dev. 53:53–63, 1998.

    Article  CAS  PubMed  Google Scholar 

  19. Scully, C. G., J. Lee, J. Meyer, A. M. Gorbach, D. Granquist-Fraser, Y. Mendelson, and K. H. Chon. Physiological parameter monitoring from optical recordings with a mobile phone. Biomed. Eng. IEEE Trans. 59:303–306, 2012.

    Article  Google Scholar 

  20. South, M. Measurement of respiratory rate and timing using a nasal thermocouple. J. Clin. Monit. 11:159–164, 1995.

    Article  PubMed  Google Scholar 

  21. Subbe, C., R. Davies, E. Williams, P. Rutherford, and L. Gemmell. Effect of introducing the Modified Early Warning score on clinical outcomes, cardio-pulmonary arrests and intensive care utilisation in acute medical admissions*. Anaesthesia 58:797–802, 2003.

    Article  CAS  PubMed  Google Scholar 

  22. Torrence, C., and G. P. Compo. A practical guide to wavelet analysis. Bull. Am. Meteorol. Soc. 79:61–78, 1998.

    Article  Google Scholar 

  23. Wang, H., K. Siu, K. Ju, and K. H. Chon. A high resolution approach to estimating time-frequency spectra and their amplitudes. Ann. Biomed. Eng. 34:326–338, 2006.

    Article  PubMed  Google Scholar 

  24. Younes, M. Role of respiratory control mechanisms in the pathogenesis of obstructive sleep disorders. J. Appl. Physiol. 105:1389–1405, 2008.

    Article  CAS  PubMed  Google Scholar 

Download references

Acknowledgments

This work was supported in part by the US Army Medical Research and Materiel Command (USAMRMC) under Grant No. W81XWH-12-1-0541.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ki H. Chon.

Additional information

Associate Editor Tingrui Pan oversaw the review of this article.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Nam, Y., Lee, J. & Chon, K.H. Respiratory Rate Estimation from the Built-in Cameras of Smartphones and Tablets. Ann Biomed Eng 42, 885–898 (2014). https://doi.org/10.1007/s10439-013-0944-x

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10439-013-0944-x

Keywords

Navigation