Deteksi Penyakit Paru-Paru Berdasarkan Gambar Citra X-Ray Menggunakan Arsitektur Convolutional Neural Network (Arsitektur Mobilenetv2)
Abstract
The lungs are vital organs in the respiratory system that exchange gases, such as oxygen and carbon dioxide. However, poor air quality can lead to health problems, including lung diseases such as pneumonia, pneumothorax, lung cancer, and tuberculosis. The objective of this study is to develop an automatic detection model that uses the Convolutional Neural Network (CNN) architecture, specifically MobileNetV2, to classify X-ray images into five categories: four types of lung disease and normal lungs. The dataset consists of 2,500 images, which are divided into five classes: 80% for training, 10% for validation, and 10% for testing. Preprocessing includes resizing images to 224 x 224 pixels, normalizing pixel values, and using augmentation techniques to increase data variation. The resulting model demonstrated good performance, achieving a training accuracy of 98.76% and a validation accuracy of 97.20%. Evaluation using a confusion matrix yielded an overall F1 score of 0.94, with the highest value of 0.98 for pneumothorax. These results suggest that the model can accurately detect and classify lung diseases with an overall accuracy of 94.4%. This research significantly contributes to developing an automated lung disease detection system that can be implemented in web- or mobile-based applications and performs well across all classes.
Downloads
References
F. Hasan, E. B. Priambudi, D. A. Putra, and A. P. Sari, “Analisis Citra Chest X-Rays Untuk Diagnosis Penyakit Pneumothorax Menggunakan Metode Box-Counting,” Pros. Semin. Nas. Inform. Bela Negara, vol. 4, pp. 99–103, 2024, doi: 10.33005/santika.v4i.
M. Hussein, A. E. Minarno, and Y. Azhar, “Segmentasi Citra X-ray Paru dengan Deep Learning,” Repositor, vol. 5, no. 1, pp. 581–590, 2023, doi: 10.22219/repositor.v5i1.32034.
Kementrian Kesehatan Republik Indonesia, “Profil Kesehatan Indonesia Tahun 2023,” Jakarta, 2024. [Online]. Available: https://kemkes.go.id/id/profil-kesehatan-indonesia-2023
I. S. Utara, T. Pustaka, S. Sutrisno, and H. Sciences, “Analisis Teknologi Usia Tulang Menggunakan Kecerdasan Artifisial: Studi Bibliometrik,” Ibnu Sina J. Kedokt. Dan Kesehat. - Fak. Kedokt. Univ. Islam Sumatera Utara, vol. 24, no. 1, pp. 147–158, 2025, doi: 10.30743/ibnusina.v24i1.759.
J. L. Phandany, A. M. Sambul, and A. S. M. Lumenta, “Comparative Study of Digital Image Optimal Compression Algorithm Using Python,” J. Tek. Elektro dan Komput., vol. 11, no. 1, pp. 23–34, 2022, doi: 10.35793/jtek.11.1.2022.37209.
I. Bakti, M. Firdaus, and S. Artikel, “Arsitektur Convolutional Neural Network InceptionResNet-V2 Untuk Pengelompokan Pneumonia Chest X-Ray,” J. Komput. Dan Teknol., vol. 2, no. 1, pp. 35–42, 2023, doi: 10.58290/jukomtek.v1i2.66.
R. Soekarta, M. Yusuf, and N. A. Basri, “Implenetasi Deep Learning Untuk Deteksi Jenis Obat Menggunakan Algoritma CNN Berbasis Website,” J. Inform., vol. 7, no. 4, pp. 455–464, 2023, doi: 10.31000/jika.v7i4.9751.
H. R. Qalbi, E. M. Yuniarmo, and R. F. Rachmadi, “Klasifikasi Gerakan Cuci Tangan Berbasis Convolutional Neural Network (CNN),” J. Tek. ITS, vol. 10, no. 2, 2021, doi: 10.12962/j23373539.v10i2.75377.
R. M. Diar, R. Y. N. Fu’adah, and K. Usman, “Klasifikasi Penyakit Paru-Paru Berbasis Pengolahan Citra X Ray Menggunakan Convolutional Neural Network,” e-Proceeding Eng., vol. 9, no. 2, pp. 476–484, 2022.
R. Indraswari, W. Herulambang, and R. Rokhana, “Deteksi Penyakit Mata Pada Citra Fundus Menggunakan Convolutional Neural Network (CNN),” Techno.Com, vol. 21, no. 2, pp. 378–389, 2022, doi: 10.33633/tc.v21i2.6162.
P. S. Fransisca and N. Matondang, “Deteksi Citra Digital Penyakit Cacar Monyet menggunakan Algoritma Convolutional Neural Network dengan Arsitektur MobileNetV2,” J. Ilmu Komput. dan Agri-Informatika, vol. 10, no. 2, pp. 200–211, 2023, doi: 10.29244/jika.10.2.200-211.
S. Andika Maulana, S. Husna Batubara, Y. Permata Putri Pasaribu, H. Syahputra, and F. Ramadhani, “Deteksi Burung Menggunakan Convolutional Neural Network (Cnn) Dengan Model Arsitektur Mobilenetv2,” JATI (Jurnal Mhs. Tek. Inform., vol. 8, no. 4, pp. 6108–6114, 2024, doi: 10.36040/jati.v8i4.10126.
I. Bakti and M. Firdaus, “Klasifikasi File Gambar Hasil X-Ray Paru -Paru Dengan Arsitektur Convolution Neural Network (CNN),” Jifotech (Journal Inf. Technol., vol. 3, no. 1, pp. 26–34, 2023, doi: 10.46229/jifotech.v3i1.590.
M. A. Alghozali et al., “Klasifikasi Penyakit Pneumonia Citra Digital X-Ray Menggunakan Metode Convolutional Neural Network dan RGB Equalization,” Pros. Semin. Nas. Teknol. Dan Sains, vol. 3, pp. 229–236, 2024, doi: 10.29407/stains.v3i1.4290.
H. A. Mubarak and R. Novita, “Klasifikasi Citra X-Ray Tuberkulosis Menggunakan Convolutional Neural Networks,” Build. Informatics, Technol. Sci., vol. 6, no. 4, pp. 2204–2216, 2025, doi: 10.47065/bits.v6i4.6515.
H. Istiqomah, P. Purwono, and R. Ardianto, “Prediksi Kanker Darah Menggunakan Metode Convolutional Neural Network,” J. Ilmu Komput. dan Inform., vol. 4, no. 1, pp. 51–60, 2024, doi: 10.54082/jiki.156.
A. Mahadar, P. Mangukiya, and T. Baraskar, “Comparison and Evaluation of CNN Architectures for Classification of Covid-19 and Pneumonia,” Proc. IEEE Int. Conf. Image Inf. Process., vol. 2021-Novem, pp. 110–115, 2021, doi: 10.1109/ICIIP53038.2021.9702676.
F. N. Darmawan, E. P. Silmina, and T. Hardiani, “Sistem Klasifikasi Peyakit Kulit Menggunakan Metode Convolutional Neural Network ( CNN ) Berbasis Website,” Pros. Semin. Nas. Penelit. Dan Pengabdi. Kpd. Masy. LPPM Univ. ’Aisyiyah Yogyakarta, vol. 2, no. September, pp. 871–881, 2024, doi: 10.54066/jptis.v2i2.1931.
N. T. Adam, Z. A. Tyas, and T. Hardiani, “Deteksi Gestur Sistem Isyarat Bahasa Indonesia Menggunakan Metode Deep learning SSD MobileNet V2 FPNLite,” Sainteks, vol. 21, no. 2, pp. 129–142, 2024, doi: 10.30595/sainteks.v21i2.24006.
A. ANHAR and R. A. PUTRA, “Perancangan dan Implementasi Self-Checkout System pada Toko Ritel menggunakan Convolutional Neural Network (CNN),” ELKOMIKA J. Tek. Energi Elektr. Tek. Telekomun. Tek. Elektron., vol. 11, no. 2, p. 466, 2023, doi: 10.26760/elkomika.v11i2.466.
A. Akram, K. Fayakun, and H. Ramza, “Klasifikasi Hama Serangga pada Pertanian Menggunakan Metode Convolutional Neural Network,” Build. Informatics, Technol. Sci., vol. 5, no. 2, pp. 397–406, 2023, doi: 10.47065/bits.v5i2.4063.
A. H. Nasrullah and H. Annur, “Implementasi Metode Convolutional Neural Network Untuk Identifikasi Citra Digital Daun,” J. Media Inform. Budidarma, vol. 7, no. 2, p. 726, 2023, doi: 10.30865/mib.v7i2.5962.
F. Ramadhan; and J. Hernadi, “Evaluasi Optimizer Adam dan RMSProp Pada Arsitektur VGG-19 Klasifikasi Ekspresi Wajah Manusia,” JIPI (Jurnal Ilm. Penelit. dan Pembelajaran Inform., vol. 10, no. 2, pp. 1414–1426, 2025, doi: 10.29100/jipi.v10i2.6197.
O. V. Putra, M. Z. Mustaqim, and D. Muriatmoko, “Transfer Learning untuk Klasifikasi Penyakit dan Hama Padi Menggunakan MobileNetV2,” Techno.Com, vol. 22, no. 3, pp. 562–575, 2023, doi: 10.33633/tc.v22i3.8516.
J. Praveen Gujjar, H. R. Prasanna Kumar, and N. N. Chiplunkar, “Image classification and prediction using transfer learning in colab notebook,” Glob. Transitions Proc., vol. 2, no. 2, pp. 382–385, 2021, doi: 10.1016/j.gltp.2021.08.068.
R. Magdalena, S. Saidah, N. K. C. Pratiwi, and A. T. Putra, “Klasifikasi Tutupan Lahan Melalui Citra Satelit SPOT-6 dengan Metode Convolutional Neural Network (CNN),” J. Edukasi dan Penelit. Inform., vol. 7, no. 3, p. 335, 2021, doi: 10.26418/jp.v7i3.48195.
D. Husen, K. Kusrini, and K. Kusnawi, “Deteksi Hama Pada Daun Apel Menggunakan Algoritma Convolutional Neural Network,” J. Media Inform. Budidarma, vol. 6, no. 4, p. 2103, 2022, doi: 10.30865/mib.v6i4.4667.
K. Shankar, Y. Zhang, Y. Liu, L. Wu, and C. H. Chen, “Hyperparameter Tuning Deep Learning for Diabetic Retinopathy Fundus Image Classification,” IEEE Access, vol. 8, pp. 118164–118173, 2020, doi: 10.1109/ACCESS.2020.3005152.
R. AGUSTINA, R. MAGDALENA, and N. K. C. PRATIWI, “Klasifikasi Kanker Kulit menggunakan Metode Convolutional Neural Network dengan Arsitektur VGG-16,” ELKOMIKA J. Tek. Energi Elektr. Tek. Telekomun. Tek. Elektron., vol. 10, no. 2, p. 446, 2022, doi: 10.26760/elkomika.v10i2.446.
Bila bermanfaat silahkan share artikel ini
Berikan Komentar Anda terhadap artikel Deteksi Penyakit Paru-Paru Berdasarkan Gambar Citra X-Ray Menggunakan Arsitektur Convolutional Neural Network (Arsitektur Mobilenetv2)
Pages: 550-560
Copyright (c) 2025 Rizky Syaifurrahman, Esi Putri Silmina

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under Creative Commons Attribution 4.0 International License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (Refer to The Effect of Open Access).





















