Jurnal Kesehatan Masyarakat Perkotaan
Vol. 6 No. 1 (2026): Jurnal Kesehatan Masyarakat Perkotaan

Detection of Tuberculosis, COVID-19, and Pneumonia from X-ray Images Using CNN

Muhtar (Universitas Mohammad Husni Thamrin)
Gunawan (Universitas Mohammad Husni Thamrin)
Lili Ruhyana (Universitas Mohammad Husni Thamrin)
Danang Kristioko Legowo (Universitas Mohammad Husni Thamrin)
Abdul Firman (Universitas Mohammad Husni Thamrin)
Mulyatno (Universitas Mohammad Husni Thamrin)
Aditya Ryan Mahendra (Universitas Mohammad Husni Thamrin)



Article Info

Publish Date
30 Jun 2026

Abstract

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.

Copyrights © 2026






Journal Info

Abbrev

jkmp

Publisher

Subject

Health Professions Public Health

Description

Jurnal Kesehatan Masyarakat Perkotaan is a peer-reviewed and open access journal that focuses on promoting health sciences generated from basic sciences, clinical, and community or public health research to integrate researches in all aspects of human health. This journal publishes original ...