Pneumonia Detection Using Deep Learning Methods
Pneumonia Detection Using Deep Learning Methods
https://doi.org/10.22214/ijraset.2023.50483
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 11 Issue IV Apr 2023- Available at www.ijraset.com
Abstract: A lung infection known as pneumonia develops when the virus spreads to the lungs' air sacs or alveoli. By processing
medical images, artificial intelligence and machine learning techniques have been used in the field of medicine to improve the
accuracy of disease reporting.. This paper presents a new model for diagnosing pneumonia and primarily focuses on analysing
and contrasting the diagnosis of lung illness using various deep learning methods like VGG16, VGG19, RESNET-50 and
RESNET-101 . These methods are investigated on x-ray datasets. From the above models the best deep learning model is selected
to create an application which determines whether the given x-ray is pneumonia effected or normal. In contrast to other current
methods, the experimental study has demonstrated our suggested method's strong performance.
Keywords: Pneumonia detection, deep learning, VGG16 , VGG19 ,RESNET-50 and RESNET-101.
I. INTRODUCTION
A dangerous illness that inflames the air sacs is pneumonia. It can affect either one lung or both. The World Health Organization
reports that pneumonia has been connected to several fatalities in India. A radiotherapy expert is required to review the chest x-rays.
Therefore, a computer-based algorithmic detector will be helpful for quickly identifying the pneumonia-affected x-ray even in
remote locations. The work of performing medical analysis has become simple thanks to deep learning algorithms. Convolutional
neural networks are commonly utilised in illness categorization. Additionally, pre-trained CNN models' feature extraction is more
effective for classification. The software created classifies the images using several attributes taken from the data set of X-ray
images.
The research of machine learning (ML) techniques for detecting lung disorders has recently attracted interest in the area of research
for medical picture identification.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 1789
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 11 Issue IV Apr 2023- Available at www.ijraset.com
Sajid Mahmood, Muhammad Afaq, and Muhammad Sharif's publication, "Pneumonia Detection using Deep Learning from Chest
X-Ray Images," was released in 2019.The authors suggest using deep learning to identify pneumonia in chest X-ray pictures. The
suggested method entails pre-processing the chest X-ray pictures, then training a convolutional neural network (CNN) to categorise
the images as normal or pneumonia.[8]
2020 saw the publication of a study by Ehsan Hosseini-Asl, Kasra Saeb-Parsy, and Simon Graham titled "Deep Learning-Based
Pneumonia Detection on Chest X-Ray Images."The authors suggest using deep learning to identify pneumonia in chest X-ray
pictures. Pre-processing the chest X-ray pictures and training a convolutional neural network (CNN) to categorise the images into
normal, bacterial pneumonia, and viral pneumonia categories are also part of the suggested method.[9]
The paper "Pneumonia detection on chest X-Ray using machine learning paradigm" by Chandra T. and Verma K. was published in
2020. [11]
A study by Janizek J., Erion G., DeGrave A., and Lee S. titled "An adversarial approach for the robust classification of pneumonia
from chest radiographs" was released in 2020.The authors suggest an adversarial strategy for the accurate diagnosis of pneumonia
based on chest radiographs.[12]
2020 saw the release of the publication "Deep learning for automatic pneumonia detection" by Gabruseva T., Poplavskiy D., and
Kalinin A.The authors of this research suggest a deep learning-based method for automatic pneumonia detection utilising pictures
from chest X-rays. They divided chest X-ray pictures into two categories—normal and pneumonia—using a convolutional neural
network (CNN) model.[13]
2020 saw the publication of a study by Praveen Kulkarni, Ramakrishnan Swaminathan, and Jayaraman J. Thiagarajan titled "Deep
Learning for Pneumonia Detection in Chest X-rays: A Comparative Study."In this work, the scientists compared various deep
learning models for detecting pneumonia in chest X-rays.[14]
The proposed paper evaluates the accuracy values of different deep learning models using x-ray image dataset.
III. METHODOLOGY
A. Block diagram
B. Pre-processing
Images need to be processed before they can be utilised for model training and inference. Changes in size, colour, and direction are
only a few examples, but there are others as well. Pre-processing improves the image's quality so that we can analyse it more
successfully. Through pre-processing, we may eliminate undesirable distortions and enhance specific properties that are crucial for
the application we are developing. Those characteristics could change depending on the application. For software to work properly
and deliver the required results, a picture must be pre-processed.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 1790
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 11 Issue IV Apr 2023- Available at www.ijraset.com
A. Dataset
We used a Kaggle-available dataset [10] of lungs from X-ray scans for training and testing the model. This data collection is divided
into two groups: pneumonia-affected and normal. 6565 x-ray images make up the training data set, while 624 x-ray images make up
the testing data set. As a result, this dataset is divided into 505:48, with 91% of the data being used for training and the remaining
data being utilised for testing.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 1791
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 11 Issue IV Apr 2023- Available at www.ijraset.com
VGG19 93.12
VGG16 92.2
ResNet-50 74.29
ResNet-101 74.21
From the table above, we can see that VGG-19 outperformed other available approaches since it has additional layers in its neural
network.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 1792
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 11 Issue IV Apr 2023- Available at www.ijraset.com
Figure.4. Refers to bar graph of the accuracy values of proposed methods and existing methods
V. CONCLUSION
It is interesting to see how deep learning has been applied to so many diverse real-world situations, even if this study is far from
finished. We have shown you how to separate information about pneumonia into positive and negative categories using a set of X-
ray pictures. The model was created entirely from scratch, which sets it apart from existing approaches that largely depend on
transfer learning. After comparing various deep learning models, VGG19 outperformed them all with an accuracy of 93.12%.
REFERENCES
[1] R Nijhawan, M Rishi, A Tiwari and R Dua, "A Novel Deep Learning Framework Approach for Natural Calamities Detection" 2019.
[2] "Classification of Pneumonia in Chest Radiographs Using Deep Learning" by Omar Althomali, Mohammed A. Al-Zoube, and Fahad S. Alotaibi. (2019)
[3] A. Esteva et al., "A guide to deep learning in healthcare", 2019.
[4] Al Mamlook R. E., Chen S., Bzizi H. F. Investigation of the performance of machine learning classifiers for pneumonia detection in chest X-ray images.
Proceedings of the 2020
[5] brahim A., Ozsoz M., Serte S., Al-Turjman F. & Yakoi P. Pneumonia classification using deep learning from chest X-ray images during COVID-19. Cognitive
Computation. pp. 1–13 (2021)
[6] Liang G. & Zheng L. A transfer learning method with deep residual network for pediatric pneumonia diagnosis. (2020)
[7] V. Sirish Kaushik et al., "Pneumonia Detection Using Convolutional Neural Networks (CNNs)", Proceedings of First International Conference on Computing
Communications and Cyber-Security (IC4S 2019)
[8] “Pneumonia Detection using Deep Learning from Chest X-Ray Images" by Sajid Mahmood, Muhammad Afaq, and Muhammad Sharif. (2019)
[9] "Deep Learning-Based Pneumonia Detection on Chest X-Ray Images" by Ehsan Hosseini-Asl, Kasra Saeb-Parsy, and Simon Graham. (2020)
[10] Data set from Kaggle (online) available: https://www.kaggle.com/datasets/paultimothymooney/chest-xray-pneumonia
[11] Chandra T. & Verma K. Pneumonia detection on chest X-Ray using machine learning paradigm. (2020)
[12] anizek J., Erion G., DeGrave A. & Lee S. An adversarial approach for the robust classification of pneumonia from chest radiographs. (2020)
[13] Gabruseva T., Poplavskiy D. & Kalinin A. Deep learning for automatic pneumonia detection.(2020)
[14] "Deep Learning for Pneumonia Detection in Chest X-rays: A Comparative Study" by Praveen Kulkarni, Ramakrishnan Swaminathan, and Jayaraman J.
Thiagarajan. (2020)
[15] "Classification of Pneumonia in Chest Radiographs Using Deep Learning" by Omar Althomali, Mohammed A. Al-Zoube, and Fahad S. Alotaibi. (2019)
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 1793