Next Article in Journal
Factors Affecting mHealth Technology Adoption in Developing Countries: The Case of Egypt
Previous Article in Journal
Framework of Meta-Heuristic Variable Length Searching for Feature Selection in High-Dimensional Data
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An IoT-Based Deep Learning Framework for Real-Time Detection of COVID-19 through Chest X-ray Images

Department of CSE, Central Institute of Technology Kokrajhar, Assam 783370, India
*
Author to whom correspondence should be addressed.
Computers 2023, 12(1), 8; https://doi.org/10.3390/computers12010008
Submission received: 1 November 2022 / Revised: 13 December 2022 / Accepted: 19 December 2022 / Published: 28 December 2022
(This article belongs to the Topic Artificial Intelligence Models, Tools and Applications)

Abstract

:
Over the next decade, Internet of Things (IoT) and the high-speed 5G network will be crucial in enabling remote access to the healthcare system for easy and fast diagnosis. In this paper, an IoT-based deep learning computer-aided diagnosis (CAD) framework is proposed for online and real-time COVID-19 identification. The proposed work first fine-tuned the five state-of-the-art deep CNN models such as Xception, ResNet50, DenseNet201, MobileNet, and VGG19 and then combined these models into a majority voting deep ensemble CNN (DECNN) model in order to detect COVID-19 accurately. The findings demonstrate that the suggested framework, with a test accuracy of 98%, outperforms other relevant state-of-the-art methodologies in terms of overall performance. The proposed CAD framework has the potential to serve as a decision support system for general clinicians and rural health workers in order to diagnose COVID-19 at an early stage.

1. Introduction

The coronavirus disease of 2019, also known as COVID-19, was first reported on 31 December 2019, in Wuhan city of China and quickly spread worldwide [1]. The COVID-19 pandemic has resulted in approximately 6,459,684 deaths and more than 596,873,121 confirmed cases of COVID-19 infection as of August 2022 [2]. Along with physical health, COVID-19 also had a toll on mental health of people [3]. This has led to a major concern. The pandemic’s management is complicated by the daily increase of positive COVID-19 cases and incorrect diagnoses. Due to the urgent need to diagnose COVID-19 disease, the medical industry is on the lookout for new tools and strategies to track and manage the virus’s spread [4]. The Internet of Medical Things (IoMT) and the high-speed 5G network, in combination with artificial intelligence and deep learning techniques, could help the healthcare system for quick diagnosis procedures in order to monitor COVID-19 disease efficiently [5,6,7]. The IoMT has substantially shifted traditional healthcare systems to IoT-based digitized healthcare infrastructure [8]. In order to release the loads of healthcare, especially in a pandemic scenario, the IoMT provides real-time services in the healthcare system [9].
The real-time reverse transcription-polymerase chain reaction (RT-PCR) test is the most used technique for diagnosing COVID-19 [10]. However, this method of identification requires a lot of time, and the outcomes might contain a lot of false-negative mistakes. Many doctors regard chest X-rays to be one of the most basic diagnostic techniques [11]. It is inexpensive and useful in identifying pulmonary infections such as pneumonia, tuberculosis, early lung cancer, and now COVID-19. Accurate diagnosis of COVID-19 using X-ray images takes specialized expertise and experience. However, in the case of COVID-19 pandemic, the ratio of medical experts who can manually make this diagnosis to the number of patients is inadequate. Computer-aided diagnosis (CAD) systems might be an effective solution to address this deficiency during the COVID-19 pandemic [12]. In this paper, an Internet of Medical Things (IoMT)-based deep learning CAD framework is presented for COVID-19 detection, prescreening, and prevention through chest X-ray images. This CAD system will perform radiological diagnosis automatically after receiving chest X-ray images from the remote and rural healthcare centers. As a result, medical experts will be able to remotely review and monitor patients with minimal expense.

1.1. Objective

The central motive of the proposed framework is to design an IoMT-based deep learning healthcare application that can make the initial decision for COVID-19 detection. The proposed study has the following main objectives:
  • To present an IoMT based framework for early detection and control of COVID-19 in remote and rural areas.
  • To introduce an IoMT framework based on the light-weight deep ensemble CNN architectures for COVID-19 diagnosis using chest X-ray images.
  • To evaluate the performance of the proposed ensemble model using a benchmark chest X-ray image dataset.

1.2. Contributions

The main contributions of the proposed work are summarized as follows:
  • An IoMT-based architecture is introduced for the early detection of COVID-19. The IoT devices (X-ray machine) first collect chest X-ray images and then directly feed into a deep learning architecture for the detection of COVID-19.
  • Proposed a light-weight deep ensemble CNN architecture with fine-tuned models such as Xception, ResNet50, DenseNet201, MobileNet, and VGG19 to improve the training efficiency and guarantee significant model accuracy.
  • Conducted extensive experiments based on the benchmark chest X-ray image dataset and have a comparative evaluation with other deep learning approaches for COVID-19 detection.
  • Integrated the proposed framework with computer-aided diagnosis (CAD) systems (GUI tools/Mobile App) in order to automatically screen COVID-19 from low-contrast X-ray images. As a result, dependence on radiologists to detect COVID-19 is also reduced.
  • The proposed framework can be used for detection of bacterial and viral pneumonia from chest X-ray images.
The remainder of this paper is structured as follows: the different related studies made in this field are described in the next section. The deep ensemble CNN approach for COVID-19 detection is presented in the Materials and Methods section. Evaluations of the suggested framework’s performance are included in the Results and Discussion section. The summary of the entire effort and the future scope are included in the Conclusion section.

2. Related Work

In the midst of the continuing COVID-19 epidemic, IoMT offers a number of automated services and facilities in order to support patient monitoring [13]. To monitor and assist control the virus’s spread, researchers are experimenting with new methods and technologies [14,15,16]. For instance, Ahmad et. al. presented a mobile technology based solution for early exposure and prompt medical intervention to stop the spread of COVID-19 [17]. Awotunde et al. [18] design an intelligent Edge-IoMT-based system for fighting COVID-19 pandemic. Singh et al. [19] provided an example of using the IoMT technique to combat the continuing COVID-19 epidemic while treating orthopedic patients.
Another IoT-based system was developed by Bhardwaj et al. [20] for earlier diagnosis and treatment COVID-19 patients by real-time tracking of a person’s temperature, heart rate, blood pressure, and oxygen saturation etc. Shibly et al. have presented a deep learning based approach for detecting COVID-19 using chest X-ray images [21]. In the literature, the authors employed faster regions with CNNs (Faster-RCNN) with VGG-16 (visual geometry group) based CNN model with Faster-RCNN architecture [22]. Turkoglu [23] opted for the transfer learning approach using the AlexNet model for feature extraction. They selected only the most effective features using Relief feature selection methodology from all layers of AlexNet and fed those effective features into the SVM classifier for COVID-19 detection. Narin et al. [24] evaluated five pre-trained convolutional neural network models such as InceptionV3, ResNet50, ResNet101, ResNet152, and Inception-ResNetV2 for detection of COVID-19 disease, based on CXR images. In the work, the authors reported that the ResNet50 model provides the highest accuracy among used five models. Singh et al. [25] presented a CNN model to detect COVID-19 patients using a multi-objective adaptive differential evolution (MADE) approach.
Moura et al. [26] utilized six pre-trained CNN architectures (DenseNet-121, DenseNet-169, ResNet-18, ResNet-34, VGG-16, and VGG-19) for the classification of CXR images in 3 different categories: COVID-19, pneumonia, and healthy cases.
It can be said that the accuracy of diagnosis in the research stated above and a large number of others is not very noteworthy and can yet be enhanced. Compared with previous related works, the significant contribution of the presented work is the use of IoMT based framework and a majority voting deep ensemble CNN (DECNN) model in order to achieve better results in real-time COVID-19 detection.

3. Materials and Methods

The IoT-based architecture for COVID-19 identification is presented in this section. Figure 1 illustrates the overall IoT-based framework. The presented framework is composed of three smaller systems. The first is the X-ray image collection unit which collects a patient’s chest X-ray (CRX) images using X-ray machines. The second is the data processing unit which is located in the computational cloud. The third includes the physicians, nurses, and the patients, who have been granted access to the system by smartphones, computers, or any other devices.
The collected CRX images are sent to the computational cloud for processing by the deep ensemble CNN model in order to classify the X-ray images into COVID-19, normal, and pneumonia.

3.1. Structure of the CNN

A convolutional neural network (CNN) is a deep learning model that has a great potential to produce successful results, especially in the area of image analysis and classification. CNNs have significantly increased their capacity to carry out important medical diagnosis. CNN is made up of multilayered neural networks in which at least one of its layers use convolution operation. As illustrated in Figure 2, a convolutional neural network is made up of following components: (i) a convolution layer, (ii) a pooling or subsampling layer, (iii) an activation function, and (iv) fully connected layer.
(i) Convolution layer: The convolution layer performs convolutional filtering by a small sliding filter on an input image. Convolutional filtering on the 2D matrix representing the image (I) of size MxN with the smaller 2D filter w of size mxm is given in Equation (1):
Y i , j = p = 0 m 1 q = 0 m 1 I i + p , j + q w p , q
The size of Y i , j is given as ( M 2 | m 2 | ) × ( N 2 | m 2 | ) .
(ii) Pooling layer: This layer performs pooling operation with a stride factor of “k” on a “k-by-k” square window sliding on the 2D feature map to obtain one single value of the features with certain scheme (max by max pooling or average by average pooling). As a result, it effectively reduces the dimension of the feature maps while preserving their channel count.
(iii) Activation function: The aim of the activation function is to increase the non-linearity of the model’s output. Commonly used activation function is the rectified linear unit (ReLU), which is defined in Equation (2):
ReLU(x) = max(x, 0)
Additionally, when doing classification, the softmax function is generally applied in the last layer. The Equation (3) defines softmax function where k represents the number of labels involved in classification.
softmax ( x i ) = e x i j = 0 k e x k
(iv) Fully connected (FC) layer: commonly, fully connected layer is located at the end of each CNN model. The purpose of FC layer is to compile the features that the earlier convolution layers had collected, and then to produce a forecast. As shown in Figure 2, the output of the fully connected layer represents the final CNN output.

3.2. Loss Functions

A loss function is a measure of the effectiveness of a deep learning model. Loss function is used in the output layer in order to reduce the error between the predicted and the actual output using the CNN learning technique. One of the ways to minimize the loss is categorical cross entropy function [27]. The categorical cross entropy loss function (L) is computed using Equation (4).
L = 1 N i = 1 N y i log y i ^
where N denotes the number of classes in the problem, y i is the corresponding target value.
Some state-of-the-art deep CNN models for image classification, such as VGG, ResNet, and so on, are introduced in Table 1.

3.3. X-ray Image Dataset

In our study, we have used anterior-to-posterior (PA)/posterior-to-anterior (AP) view of CXR images since radiologists frequently use this view of radiography for clinical diagnosis. The dataset used in our work is collected from Kaggle [28,29]. It consists of 12,443 images and these images are divided into three different classes—“Normal”, “Covid positive”, and “Viral Pneumonia”. There are 906 Covid positive images, 1345 viral pneumonia images and 10,192 normal images. These datasets are further split into training and testing data with a percentage ratio of 80% training data and 20% testing data. Moreover, we have also tested the proposed framework on another dataset [30].

3.4. Pre-Processing and Data Augmentation

As the part of data preprocessing, bilateral filter [31] has been used to extract more features from the images. The bilateral filter is a useful tool to smooth images by removing noises while preserving edges. Subsequently, different flips and rotation are applied while executing data augmentation in order to aid more images in the training phase for better learning.

3.5. Detection of COVID-19 Using Deep Ensemble CNN (DECNN)

An ensemble method is a way to combine different learning approaches into a single predictive model. In order to develop a real-time automated system for COVID-19 detection from CRX images, deep ensemble CNN (DECNN) models have been trained and tested. As shown in Figure 3, five different models were employed in the proposed ensemble framework—Xception, ResNet50, DenseNet201, MobileNetV2, and VGG16—all of which were pre-trained on ImageNet and then fine-tuned using the chest X-ray image dataset.
The ensemble approach adopted for the proposed work is the majority voting classifier-based ensemble (MVCE) model. MVCE learning model makes use of a variety of machine learning algorithms to discover the correct label for data and to forecast which option will receive the most votes. Algorithm 1 demonstrates the proposed algorithm.
Algorithm 1: COVID19_detection (Proposed deep CNN algorithm)
Input: Chest-X-ray images
Output: The trained model that classifies the CXR images
Steps
 1. Import a set of pre-trained models
 E = {Xception, Resnet50, Dense201, MobileNetV2 and VGG16}.
 2. For each model in E
 3.  Replace the last fully connected layer of each model by a layer
 of dimension (3 × 1)
 4.  for epochs = 1 to 20
 5.    model.fit (train_data, validation_data)
 6. Return Class (COVID19/Normal/Pneumonia)

4. Rsults and Discussion

This section presents the evaluation and visualization results of the proposed ensemble model.

4.1. Tools Used

Deep CNN model is implemented over the deep learning library TensorFlow 2.2.0. The Google Colab GPU (Tesla K80 12GB GDDR5 VRAM) platform is utilized for training and testing purposes.

4.2. Performance Metrics

The performance has been evaluated using four metrics—precision, accuracy, F1-score, and recall. Confusion matrix is shown in the Figure 4. Given the number of true positives (TP), false positives (FP), true negatives (TN), and false negatives (FN), these metrics are evaluated based on the confusion matrix as follows:
Accuracy: It is defined as the proportion of right predictions to the total number of predictions made on a given set of data as given below:
Accuracy = TP + TN ( TP + FN ) + ( FP + TN )
Precision: It is the ratio of successfully predicted positive data points to the number of data points correctly predicted as positive by the classifier, as expressed by the following formula:
Precision = TP ( TP + FP )
Recall (Sensitivity): It is the proportion of accurately anticipated positive data points to the total number of positive data points. It is defined as:
Recall = TP ( TP + FN )
F1-score: It is used to determine the accuracy of a test set. The harmonic mean of precision and sensitivity is the F1 score.
F 1 - score = 2 × Recall × Precision Recall + Precision
The training and validation accuracy and loss are presented in Figure 5, Figure 6, Figure 7, Figure 8 and Figure 9. It can be observed that the training and validation accuracy rates considerably increased at the first epoch. However, training and validation loss are not decreasing steadily except ResNet50.
A simple GUI-based COVID-19 detection tool has been developed for online and real-time detection and monitoring. Figure 10 and Figure 11 demonstrates the GUI-based and Mobile App-based COVID-19 detection tool.
Table 2 shows the precision, recall and F1-score of the proposed deep CNN for 3-class problems.
The accuracy results of the proposed deep ensemble CNN model are compared with other existing state-of-the-art methods, as provided in Table 3. It can be observed that the proposed DECNN model outperformed with respect to two important aspects which are missing in other recent works reported in Table 3. First, most of the works considered 2-class problems. A transfer learning-based model for 3-class problems in COVID-19 identification has been created by Chakraborty et al. [32], although their accuracy is worse than ours. Moreover, Nasiri and Hasani [33] consider 3-class problems along with 2-class, the accuracy of 3-class problems is significantly low (less than 90%). Second, no work has reported implementation of GUI tools/Mobile App to investigate COVID-19 in real-time.

5. Conclusions

In this paper, we present an Internet of Things (IoT) based CAD framework for the online and real-time COVID-19 detection through CXR images applying deep ensemble CNN in order to identify COVID19, normal, pneumonia patients. The proposed scheme achieves a better overall performance in accurately detecting the COVID-19 compared to the other existing state-of-the-art methods as shown by performance simulation. This is due to the fact that the proposed IoT based framework utilizes deep ensemble CNN models. As a result, the presented framework has the potential to serve as a decision support system for general practitioners and rural health workers for the early detection of COVID-19. However, there are certain shortcomings in the presented work that need additional implementation. The proposed system is tested only on pre-captured CXR images. In future, the proposed work will be tested using real-time captured CXR images.

Author Contributions

Conceptualization, M.K., B.C., R.P. and A.N.; methodology, M.K., B.C. and R.P.; software, M.K. and B.C.; validation, R.P., B.C. and A.N.; data curation, M.K., B.C. and R.P.; writing—original draft preparation, M.K., B.C. and R.P.; writing—review and editing, M.K., B.C., R.P. and A.N.; visualization, B.C. and A.N.; supervision, A.N.; project administration, A.N. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Dataset used are available in the following links: 1. COVID-19 Radiography Database. Available online: https://www.kaggle.com/datasets/tawsifurrahman/covid19-radiography-database (accessed on 29 August 2022). 2. COVID-QU-Ex Dataset. Available online: https://www.kaggle.com/datasets/anasmohammedtahir/covidqu (accessed on 29 August 2022).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Senapati, A.; Nag, A.; Mondal, A.; Maji, S. A novel framework for COVID-19 case prediction through piecewise regression in India. Int. J. Inf. Technol. 2021, 13, 41–48. [Google Scholar] [CrossRef] [PubMed]
  2. WHO Coronavirus (COVID-19) Dashboard. Available online: https://covid19.who.int/ (accessed on 29 August 2022).
  3. Sitaula, C.; Basnet, A.; Mainali, A.; Shahi, T.B. Deep Learning-Based Methods for Sentiment Analysis on Nepali COVID-19-Related Tweets. Comput. Intell. Neurosci. 2021, 2021, 2158184. [Google Scholar] [CrossRef] [PubMed]
  4. Shakhovska, N.; Fedushko, S.; Greguš, M.; Melnykova, N.; Shvorob, I.; Syerov, Y. Big Data analysis in development of personalized medical system. In Proceedings of the 10th International Conference on Emerging Ubiquitous Systems and Pervasive Networks (EUSPN 2019), Coimbra, Portugal, 4–7 November 2019; Volume 160, pp. 229–234. [Google Scholar] [CrossRef]
  5. Dong, Y.; Yao, Y.D. IoT platform for COVID-19 prevention and control: A survey. IEEE Access 2021, 9, 49929–49941. [Google Scholar] [CrossRef] [PubMed]
  6. Kakhi, K.; Alizadehsani, R.; Kabir, H.D.; Khosravi, A.; Nahavandi, S.; Acharya, U.R. The internet of medical things and artificial intelligence: Trends, challenges, and opportunities. Biocybern. Biomed. Eng 2022, 42, 749–771. [Google Scholar] [CrossRef]
  7. Vaishya, R.; Javaid, M.; Khan, I.H.; Haleem, A. Artificial Intelligence (AI) applications for COVID-19 pandemic. Diabetes Metab. Syndr. 2020, 14, 337–339. [Google Scholar] [CrossRef]
  8. Joyia, G.J.; Liaqat, R.M.; Farooq, A.; Rehman, S. Internet of medical things (IoMT): Applications, benefits and future challenges in healthcare domain. J. Commun. 2017, 12, 240–247. [Google Scholar] [CrossRef] [Green Version]
  9. Ahmed, I.; Ahmad, A.; Jeon, G. An IoT-based deep learning framework for early assessment of COVID-19. IEEE Internet Things J. 2020, 8, 15855–15862. [Google Scholar] [CrossRef]
  10. Shoeibi, A.; Khodatars, M.; Alizadehsani, R.; Ghassemi, N.; Jafari, M.; Moridian, P.; Khadem, A.; Sadeghi, D.; Hussain, S.; Zare, A.; et al. Automated detection and forecasting of COVID-19 using deep learning techniques: A review. arXiv 2020, arXiv:2007.10785. [Google Scholar]
  11. Premamayudu, B.; Bhuvaneswari, C. COVID-19 Automatic Detection from CT Images through Transfer Learning. Int. J. Image Graph. Signal Process. 2022, 14, 48–95. [Google Scholar] [CrossRef]
  12. Messerli, M.; Kluckert, T.; Knitel, M.; Rengier, F.; Warschkow, R.; Alkadhi, H.; Leschka, S.; Wildermuth, S.; Bauer, R.W. Computer-aided detection (CAD) of solid pulmonary nodules in chest x-ray equivalent ultralow dose chest CT-first in-vivo results at dose levels of 0.13 mSv. Eur. J. Radiol. 2016, 85, 2217–2224. [Google Scholar] [CrossRef]
  13. Singh, R.P.; Javaid, M.; Haleem, A.; Suman, R. Internet of things (IoT) applications to fight against COVID-19 pandemic. Diabetes Metab. Syndr. 2020, 14, 521–524. [Google Scholar] [CrossRef] [PubMed]
  14. Ahmed, I.; Jeon, G.; Chehri, A. An IoT-enabled smart health care system for screening of COVID-19 with multi layers features fusion and selection. Computing 2022, 1–18. [Google Scholar] [CrossRef]
  15. Santra, A.; Dutta, A. A Comprehensive Review of Machine Learning Techniques for Predicting the Outbreak of Covid-19 Cases. Int. J. Intell. Syst. Appl. (IJISA) 2022, 14, 40–53. [Google Scholar] [CrossRef]
  16. Tatkare, A.; Patil, H.; Salunke, T.; Warang, S.; Marathe, D. COVID-19 Patient Health Monitoring System. Int. J. Eng. Manuf. (IJEM) 2021, 11, 48–55. [Google Scholar] [CrossRef]
  17. Ahmad, S.; Chitkara, P.; Khan, F.N.; Kishan, A.; Alok, V.; Ramlal, A.; Mehta, S. Mobile technology solution for COVID-19: Surveillance and prevention. In Computational Intelligence Methods in COVID-19: Surveillance, Prevention, Prediction and Diagnosis; Springer: Singapore, 2021; pp. 79–108. [Google Scholar]
  18. Awotunde, J.B.; Jimoh, R.G.; Matiluko, O.E.; Gbadamosi, B.; Ajamu, G.J. Artificial Intelligence and an Edge-IoMT-Based System for Combating COVID-19 Pandemic. In Intelligent Interactive Multimedia Systems for e-Healthcare Applications; Springer: Singapore, 2022; pp. 191–214. [Google Scholar]
  19. Singh, R.P.; Javaid, M.; Haleem, A.; Vaishya, R.; Ali, S. Internet of Medical Things (IoMT) for orthopaedic in COVID-19 pandemic: Roles, challenges, and applications. J. Clin. Orthop. Trauma 2020, 11, 713–717. [Google Scholar] [CrossRef] [PubMed]
  20. Bhardwaj, V.; Joshi, R. Gaur AM. IoT-based smart health monitoring system for COVID-19. SN Comput. Sci. 2022, 3, 137. [Google Scholar] [CrossRef] [PubMed]
  21. Shibly, K.H.; Dey, S.K.; Islam, M.T.; Rahman, M.M. COVID faster R–CNN: A novel framework to Diagnose Novel Coronavirus Disease (COVID-19) in X-Ray images. Inform. Med. Unlocked 2020, 20, 100405. [Google Scholar] [CrossRef]
  22. Sitaula, C.; Hossain, M.B. Attention-based VGG-16 model for COVID-19 chest X-ray image classification. Appl. Intell. 2021, 51, 2850–2863. [Google Scholar] [CrossRef]
  23. Turkoglu, M. COVIDetectioNet: COVID-19 diagnosis system based on X-ray images using features selected from pre-learned deep features ensemble. Appl. Intell. 2021, 51, 1213–1226. [Google Scholar] [CrossRef]
  24. Narin, A.; Kaya, C.; Pamuk, Z. Automatic detection of coronavirus disease (COVID-19) using x-ray images and deep convolutional neural networks. Pattern Anal. Appl. 2021, 24, 1207–1220. [Google Scholar] [CrossRef]
  25. Singh, D.; Kumar, V.; Yadav, V.; Kaur, M. Deep neural network-based screening model for COVID-19-infected patients using chest X-ray images. Int. J. Pattern Recognit. Artif. Intell. 2021, 35, 2151004. [Google Scholar] [CrossRef]
  26. de Moura, J.; Novo, J.; Ortega, M. Fully automatic deep convolutional approaches for the analysis of COVID-19 using chest X-ray images. Appl. Soft Comput. 2022, 115, 108190. [Google Scholar] [CrossRef] [PubMed]
  27. Hussain, M.; Bird, J.J.; Faria, D.R. A study on CNN transfer learning for image classification. In UK Workshop on Computational Intelligence; Springer: Cham, Switzerland, 2018; pp. 191–202. [Google Scholar]
  28. COVID-19 Radiography Database. Available online: https://www.kaggle.com/datasets/tawsifurrahman/covid19-radiography-database (accessed on 29 August 2022).
  29. COVID-QU-Ex Dataset. Available online: https://www.kaggle.com/datasets/anasmohammedtahir/covidqu (accessed on 29 August 2022).
  30. Chest X-Rays-Pneumonia Detection Database. Available online: https://www.kaggle.com/datasets/wilhelmberghammer/chest-xrays-pneumonia-detection10.17632/rscbjbr9sj.2#file-f12eaf6d-6023-432f-acc9-80c9d7393433 (accessed on 1 November 2022).
  31. Jie, G.; Jiang, W.; Deng, X. Multi-scale deep feature learning network with bilateral filtering for SAR image classification. ISPRS J. Photogramm. Remote Sens. 2020, 167, 201–213. [Google Scholar]
  32. Chakraborty, S.; Paul, S.; Hasan, K.M. A transfer learning-based approach with deep CNN for COVID-19-and pneumonia-affected chest x-ray image classification. SN Comput. Sci. 2022, 3, 1–10. [Google Scholar] [CrossRef] [PubMed]
  33. Nasiri, H.; Hasani, S. Automated detection of COVID-19 cases from chest X-ray images using deep neural network and XGBoost. Radiography 2022, 28, 732–738. [Google Scholar] [CrossRef] [PubMed]
  34. Khanna, M.; Agarwal, A.; Singh, L.K.; Thawkar, S.; Khanna, A.; Gupta, D. Radiologist-level two novel and robust automated computer-aided prediction models for early detection of COVID-19 infection from chest X-ray images. Arab. J. Sci. Eng. 2021, 46, 1–33. [Google Scholar] [CrossRef]
Figure 1. System architecture.
Figure 1. System architecture.
Computers 12 00008 g001
Figure 2. A typical convolution neural network (CNN) architecture.
Figure 2. A typical convolution neural network (CNN) architecture.
Computers 12 00008 g002
Figure 3. Workflow of the proposed deep ensemble CNN model for detecting COVID-19 through chest X-rays.
Figure 3. Workflow of the proposed deep ensemble CNN model for detecting COVID-19 through chest X-rays.
Computers 12 00008 g003
Figure 4. Confusion matrix.
Figure 4. Confusion matrix.
Computers 12 00008 g004
Figure 5. ResNet50; (a) training and validation accuracy; (b) training and validation loss.
Figure 5. ResNet50; (a) training and validation accuracy; (b) training and validation loss.
Computers 12 00008 g005
Figure 6. VGG16; (a) training and validation accuracy; (b) training and validation loss.
Figure 6. VGG16; (a) training and validation accuracy; (b) training and validation loss.
Computers 12 00008 g006
Figure 7. XCEPTION; (a) training and validation accuracy; (b) training and validation loss.
Figure 7. XCEPTION; (a) training and validation accuracy; (b) training and validation loss.
Computers 12 00008 g007
Figure 8. DenseNet201; (a) training and validation accuracy; (b) training and validation loss.
Figure 8. DenseNet201; (a) training and validation accuracy; (b) training and validation loss.
Computers 12 00008 g008
Figure 9. MobileNetV2; (a) training and validation accuracy; (b) training and validation loss.
Figure 9. MobileNetV2; (a) training and validation accuracy; (b) training and validation loss.
Computers 12 00008 g009
Figure 10. Screenshot of GUI-based COVID-19 detection tool.
Figure 10. Screenshot of GUI-based COVID-19 detection tool.
Computers 12 00008 g010
Figure 11. Screenshot of Mobile App-based COVID-19 detection tool.
Figure 11. Screenshot of Mobile App-based COVID-19 detection tool.
Computers 12 00008 g011
Table 1. Brief overview of some state-of-the-art CNN architectures.
Table 1. Brief overview of some state-of-the-art CNN architectures.
VGG16Resnet50MobileNetV2DenseNet201Xception
Input Size224 × 224224 × 224224 × 224224 × 224299 × 299
Depth16505320171
Year20142015201820172017
No. of Parameters135 M24 M2 M20 M22.9 M
Table 2. Experimental results.
Table 2. Experimental results.
ClassPrecisionRecallF1-Score
COVID-190.950.990.97
Normal1.000.970.98
Viral Pneumonia0.810.980.95
Table 3. Comparison of the proposed work with other DL-based state-of-the-art methods.
Table 3. Comparison of the proposed work with other DL-based state-of-the-art methods.
Previous StudyYearType of ImageModel UsedAccuracy (%)GUI Tool/Mobile App for Real Time Testing
2 (COVID-19/Normal)3 (COVID-19/Normal/Pneumonia)3 (Bacterial Pneumonia, Normal, Viral Pneumonia)
Narin et al. [24]2021Chest X-rayDeep CNN ResNet-5096.1××No
Khanna et al. [34]2021Chest X-rayHybrid LSTM-CNN96.46××No
Chakraborty et al. [32]2022Chest X-rayTransfer Learning(VGG-19)×97.11×No
Nasiri and Hasani [33]2022Chest X-rayDenseNet169 & XGBoost98.2489.70×No
Proposed System2022Chest X-rayDeep ensemble CNN
(Xception, ResNet50, DenseNet201, MobileNetV2 and VGG16)
98.8997.1696.21Yes
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Karmakar, M.; Choudhury, B.; Patowary, R.; Nag, A. An IoT-Based Deep Learning Framework for Real-Time Detection of COVID-19 through Chest X-ray Images. Computers 2023, 12, 8. https://doi.org/10.3390/computers12010008

AMA Style

Karmakar M, Choudhury B, Patowary R, Nag A. An IoT-Based Deep Learning Framework for Real-Time Detection of COVID-19 through Chest X-ray Images. Computers. 2023; 12(1):8. https://doi.org/10.3390/computers12010008

Chicago/Turabian Style

Karmakar, Mithun, Bikramjit Choudhury, Ranjan Patowary, and Amitava Nag. 2023. "An IoT-Based Deep Learning Framework for Real-Time Detection of COVID-19 through Chest X-ray Images" Computers 12, no. 1: 8. https://doi.org/10.3390/computers12010008

APA Style

Karmakar, M., Choudhury, B., Patowary, R., & Nag, A. (2023). An IoT-Based Deep Learning Framework for Real-Time Detection of COVID-19 through Chest X-ray Images. Computers, 12(1), 8. https://doi.org/10.3390/computers12010008

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop