Real Time Implementation of Robust Sound based Respiratory Disease Classification using Spectrogram and Deep Convolutional Neural Networks

Authors: Revathi A., Sasikala Devi N., Arunprasanth D., Raju N.

Abstract: Respiratory diseases become burden to affect health of the people and five lung related diseases namely COPD, Asthma, Tuberculosis, Lower respiratory tract infection and Lung cancer are leading causes of death worldwide. X-ray or CT scan images of lungs of patients are analysed for prediction of any lung related respiratory diseases clinically. Respiratory sounds also can be analysed to diagnose the respiratory illness prevailing among humans. Sound based respiratory disease classification against healthy subjects is done by extracting spectrogram from the respiratory sound signal and Convolutional neural network (CNN) templates are created by applying the extracted features on the layered CNN architecture. Test sound is classified to be associated with respiratory disease or healthy subjects by applying the testing procedure on the test feature frames of spectrogram. Evaluation of the respiratory disease binary classification is performed by considering 80% and 20% of the extracted spectrogram features for training and testing. An automated system is developed to classify the respiratory diseases namely upper respiratory tract infection (URTI), pneumonia, bronchitis, bronchiectasis, and coronary obstructive pulmonary disease (COPD) against healthy subjects from breathing & wheezing sounds. Decision level fusion of spectrogram, Melspectrogram and Gammatone gram features with CNN for modelling & classification is done and the system has deliberated the accuracy of 98%. Combination of Gammatone gram and CNN has provided very good results for binary classification of pulmonary diseases against healthy subjects. This system is realized in real time by using Raspberry Pi hardware and this system provides the validation error of 14%. This automated system would be useful for COVID testing using breathing sounds if respiratory sound database with breathing sound recordings from COVID patients would be available.

Pages: 48-60

DOI: 10.46300/91011.2023.17.6

International Journal of Biology and Biomedical Engineering, E-ISSN: 1998-4510, Volume 17, 2023, Art. #6