Detection of Tuberculosis, COVID-19, and Pneumonia from X-ray Images Using CNN
DOI:
https://doi.org/10.37012/jkmp.v6i1.3541Abstract
Tuberculosis, COVID-19, and pneumonia are lung diseases that require early detection support based on chest X-ray imaging. This study aimed to develop a detection system based on Convolutional Neural Network (CNN) to classify chest X-ray images into normal or disease conditions. This research applied a system development approach using secondary datasets from Kaggle, image processing through size and pixel-intensity normalization, CNN model training using Teachable Machine, and web-based application implementation using Python, Streamlit, OpenCV, Keras, and NumPy. The dataset was divided into 70% training data and 30% testing data. The evaluation results showed model accuracies of 99.37% for Tuberculosis, 100% for COVID-19, and 95.45% for Pneumonia. Application sample testing indicated that all test images were predicted according to the actual diagnosis, with average confidence scores of 98.88% for Tuberculosis, 100% for COVID-19, and 96.66% for Pneumonia. This system may function as a predictive tool for early chest X-ray screening; however, the results must be confirmed by health professionals and further validated using real clinical data.
Downloads
Published
How to Cite
Issue
Section
Citation Check
License
Copyright (c) 2026 Muhtar, Gunawan, Lili Ruhyana, Danang Kristioko Legowo, Abdul Firman, Mulyatno, Aditya Ryan Mahendra

This work is licensed under a Creative Commons Attribution 4.0 International License.
Jurnal Kesehatan Masyarakat Perkotaan allows readers to read, download, copy, distribute, print, search, or link to the full texts of its articles and allow readers to use them for any other lawful purpose. The journal allows the author(s) to hold the copyright without restrictions. Finally, the journal allows the author(s) to retain publishing rights without restrictions Authors are allowed to archive their submitted article in an open access repository Authors are allowed to archive the final published article in an open access repository with an acknowledgment of its initial publication in this journal.

Lisensi Creative Commons Atribusi 4.0 Internasional.








