Pneumonia Disease Detection in X-Ray Images Using A Deep Learning Approach with CNN and Alexnet Architecture
Abstract
Effective treatment of pneumonia, a respiratory illness, depends on a prompt and precise diagnosis. However, using medical investigations to diagnose pneumonia can be laborious and rely on the skill of radiologists. In order to automatically identify pneumonia from chest X-ray pictures, this study intends to create an artificial intelligence model utilizing a Convolutional Neural Network (CNN) with the AlexNet architecture. 2,806 X-ray pictures that were classified as either normal or pneumonia were used. A variety of preprocessing methods were used to improve the quality of the data, and AlexNet, which had previously been trained on ImageNet, was used for transfer learning to increase the accuracy of detection. The model's accuracy, precision, and recall were 95.44%, 99%, and 94%, respectively. However, because Google Colab uses temporary sessions, speed varies a little when it is rerun. In spite of this, the model continuously maintains an accuracy of over 90%. Furthermore, users can upload X-ray photos and get immediate results using a Gradio-based interface, which makes it accessible to those without technical knowledge. This study lays the groundwork for using AI to the diagnosis of pneumonia with the goal of increasing the effectiveness and speed of medical imaging analysis.
Keywords
Full Text:
PDFReferences
Lin, J., & Irsyad, H. (2021). Classification of Pneumonia in Lung X-Ray Images Using GLCM and LVQ. Jurnal Algorithm, 1(2), 184-194. ISSN 2775-8796. https://doi.org/10.35957/algoritme.v1i2.897.
Nuraeni, M. (2020). Prediction of Pneumonia Using Big Data, Deep Learning, and
Machine Learning Techniques. International Research Journal of Modernization in
Engineering Technology and Science. https://doi.org/10.56726/irjmets29620.
Yopento, J., Ernawati, & Coastera, F. F. (2022). Identification of Pneumonia in Lung X-
Ray Images Using Convolutional Neural Network (CNN) Method Based on Sobel Feature Extraction. Rekursif: Jurnal Informatika, 10(1), 40-47. ISSN 2777-0427. Unib Press.
https://doi.org/10.33369/rekursif.v10i1.17247.
Yugaswara, H., Jounio, R., & Fathurahman, M. (2022). Pneumonia Detection in COVID- 19 Patients Based on Chest X-Ray Images Using Transfer Learning Method. Media Elektrika, 15(2), 95. ISSN 2579-972X. LPPM Universitas Muhammadiyah Semarang.https://doi.org/10.26714/me.v15i2.10731.
Shoar, S., & Musher, D. M. (2020). Etiology of Community-Acquired Pneumonia in Adults: A Systematic Review. Pneumonia, 12(1). ISSN 2200-6133. Springer Science and
Business Media LLC. https://doi.org/10.1186/s41479-020-00074-3.
Abdullah, I. A. A., Sadikin, R., Rianto, Y., & Priansyah, D. (2022). Segmentation of Visceral Fat and Lung Cancer Using Deep Learning. Buletin Poltanesa, 23(2). ISSN 2614-8374. Politeknik Pertanian Negeri Samarinda.
Wilyani, F., Arif, Q. N., & Aslimar, F. (2024). Introduction to Basic Python Programming Using Google Colaboratory. Jurnal Pelayanan dan Pengabdian Masyarakat Indonesia, 3(1), 08–14.https://doi.org/10.55606/jppmi.v3i1.1087.
Modi, A. R., & Kovacs, C. S. (2020). Hospital-Acquired and Ventilator-Associated Pneumonia: Diagnosis, Management, and Prevention. Cleveland Clinic Journal of Medicine, 87(10), 633-639. ISSN 0891-1150. https://doi.org/10.3949/ccjm.87a.19117.
Directorate General of Higher Education, Research, and Development. (2018). Accredited Sinta Rank 4 (Vol. 3, Issue 1). Pneumonia Detection Using Deep Learning Based on Convolutional Neural Network (CNN) Model. International Research Journal of Modernization in Engineering Technology and Science. https://doi.org/10.56726/irjmets32669.
Sanjaya, U. P., Alawi, Z., Zayn, A. R., & Dirgantoro, G. P. (2023). Optimization of Convolutional Neural Network with Standard Deviation for Pneumonia Classification on X-ray Images. Generation Journal, 7(3), 40-47.
Kholik, A. (2021). Classification Using Convolutional Neural Network (CNN) on InstagramPage Screenshots. Jurnal Data Mining dan Sistem Informasi, 2(2), 10. ISSN 2745-8458. Universitas Teknokrat Indonesia. https://doi.org/10.33365/jdmsi.v2i2.1345.
Rahman, T., Chowdhury, M. E. H., Khandakar, A., & Islam, K. R. (2020). Transfer learning with deep convolutional neural network (CNN) for pneumonia detection using chest X-ray. Applied Sciences, 10(9), 3233. https://doi.org/10.3390/app10093233
Vinoth, R., & Subalakshmi, S. (2023). Pneumonia detection from chest X-ray using AlexNet image classification technique. 2023 7th International Conference on Intelligent Computing and Control Systems (ICICCS).
https://doi.org/10.1109/ICICCS58233.2023.10142405
Jain, R., Nagrath, P., Kataria, G., Kaushik, V. S., & Hemanth, D. J. (2020). Pneumonia detection in chest X-ray images using convolutional neural networks and transfer Karim et al., Pneumonia Disease Detection in X-ray Image Using a Deep Learning Approach With ... | 12 DOI: https://doi.org/10.17509/coelite.v4i1.80881 p- ISSN 2829-4157 e- ISSN 2829-4149 learning. Measurement, 165, 108046.
https://doi.org/10.1016/j.measurement.2020.108046
Alapat, D. J., Menon, M. V., & Ashok, S. (2022). A review on detection of pneumonia in chest X-ray images using neural networks. Journal of Biomedical Physics and Engineering, 12(5), 551–564.
Salih, S. Q., Abdulla, H. K., & Ahmed, Z. S. (2020). Modified AlexNet convolution neural network for COVID-19 detection using chest X-ray images. Kurdistan Journal of Applied Research, 5(1), 45–51.
Jamil, H., Mohamed, M., & Joret, A. (2021). Chest X-ray pneumonia classification using AlexNet. Evolution in Electrical and Electronic Engineering, 2(1), 294–303.
Jawarneh, M., Kalash, H. S., & Al Amri, M. (2023). Enhancing pneumonia detection in chest X-rays through transfer learning with AlexNet and adversarial training. IRE Journals, 7(8), 234–239.
Athar, A., Asif, R. N., Saleem, M., & Munir, S. (2023). Improving pneumonia detection in chest X-rays using transfer learning approach (AlexNet) and adversarial training. IEEE Conference Proceedings. https://doi.org/10.1109/ICBATS57792.2023.10111193
Jenefa, J., & Vetriveeran, D. (2025). A comparative analysis of AlexNet and ResNet for pneumonia detection. In Monitoring Using IoT Systems.
https://doi.org/10.1002/9781394270392.ch11
DOI: https://doi.org/10.17509/coelite.v4i1.80881
Refbacks
- There are currently no refbacks.
Journal of Computer Engineering, Electronics and Information Technology (COELITE)
is published by UNIVERSITAS PENDIDIKAN INDONESIA (UPI),
and managed by Department of Computer Enginering.
Jl. Dr. Setiabudi No.229, Kota Bandung, Indonesia - 40154
email: coelite@upi.edu
e-ISSN: 2829-4149
p-ISSN: 2829-4157



