Transfer Learning Analysis on Tuberculosis Classification Using MobileNetV2 Architecture Based on Chest X-Ray Images
DOI:
https://doi.org/10.30871/jaic.v9i6.11510Keywords:
Tuberculosis, MobileNetV2, Deep Learning, Transfer Learning, Chest X-ray, Image ClassificationAbstract
Tuberculosis(TBC) remains a major global health issue, with millions of new cases reported annually. Early and accurate diagnosis is essential, but manual interpretation of chest X-ray(CXR) images is limited by subjectivity and resource constrains. This study applies the MobileNetV2 architecture using transfer learning to classify tuberculosis from CXR images. The publicly available Tuberculosis Chest X-ray dataset containing 4200 images was divided into training (70%), validation (15%), and testing (15%). The pretrained MobileNetV2 model on ImageNet was used as the base network, with additional classification layers and training through the Adam optimizer and early stopping. The model achieved a validation accuracy above 99.84% after the second epoch maintained stable performance. Once the test set, model reached 99.84% accuracy, with precision 99.53% and recall 99.90% for the tuberculosis class. The result demonstrate that the transfer learning with MobileNetV2 provides a fast, efficient, and highly accurate method for tuberculosis detection. This model show potential for integration into Computer-Aided Diagnosis (CAD) system in low resource clinical settings.
Downloads
References
[1] “Global Tuberculosis reporT 2022,” 2022. [Online]. Available: http://apps.who.int/bookorders.
[2] M. Nel, Z. Franckling-Smith, T. Pillay, S. Andronikou, and H. J. Zar, “Chest Imaging for Pulmonary TB—An Update,” Feb. 01, 2022, MDPI. doi: 10.3390/pathogens11020161.
[3] Z. Zhang, F. Cui, C. Cao, Q. Wang, and Q. Zou, “Single-cell RNA analysis reveals the potential risk of organ-specific cell types vulnerable to SARS-CoV-2 infections,” Comput Biol Med, vol. 140, Jan. 2022, doi: 10.1016/j.compbiomed.2021.105092.
[4] O. Illah and A. Olaitan, “Updates on HPV Vaccination,” Jan. 01, 2023, Multidisciplinary Digital Publishing Institute (MDPI). doi: 10.3390/diagnostics13020243.
[5] D. Musinguzi et al., “PaliGemma-CXR: a multi-task multimodal model for tuberculosis chest X-ray interpretation,” BMC Artificial Intelligence, vol. 1, no. 1, p. 7, Aug. 2025, doi: 10.1186/s44398-025-00008-3.
[6] M. Tanaka, S. Shiota, and H. Kiya, “A detection method of operated fake-images using robust hashing,” J Imaging, vol. 7, no. 8, Aug. 2021, doi: 10.3390/jimaging7080134.
[7] Y. Hadhoud et al., “From Binary to Multi-Class Classification: A Two-Step Hybrid CNN-ViT Model for Chest Disease Classification Based on X-Ray Images,” Diagnostics, vol. 14, no. 23, Dec. 2024, doi: 10.3390/diagnostics14232754.
[8] N. Marquez et al., “Performance of chest X-ray with computer-aided detection powered by deep learning-based artificial intelligence for tuberculosis presumptive identification during case finding in the Philippines,” BMC Global and Public Health, vol. 3, no. 1, Dec. 2025, doi: 10.1186/s44263-025-00198-y.
[9] K. K. Sampath, A. Arumugam, and G. Jull, “The role of 3D digital applications in Manual Therapy Education – A scoping review,” Dec. 30, 2021. doi: 10.21203/rs.3.rs-1178829/v1.
[10] L. Kaewwilai et al., “Development and evaluation of an artificial intelligence (AI) -assisted chest x-ray diagnostic system for detecting, diagnosing, and monitoring tuberculosis,” Glob Transit, vol. 7, pp. 87–93, Jan. 2025, doi: 10.1016/j.glt.2025.02.005.
[11] V. Sharma, Nillmani, S. K. Gupta, and K. K. Shukla, “Deep learning models for tuberculosis detection and infected region visualization in chest X-ray images,” Intelligent Medicine, vol. 4, no. 2, pp. 104–113, May 2024, doi: 10.1016/j.imed.2023.06.001.
[12] D. Capellán-Martín, J. J. Gómez-Valverde, D. Bermejo-Peláez, and M. J. Ledesma-Carbayo, “A Lightweight, Rapid and Efficient Deep Convolutional Network for Chest X-Ray Tuberculosis Detection,” Sep. 2023, doi: 10.1109/ISBI53787.2023.10230500.
[13] S. A. El-Ghany, M. Elmogy, M. A. Mahmood, and A. A. Abd El-Aziz, “A Robust Tuberculosis Diagnosis Using Chest X-Rays Based on a Hybrid Vision Transformer and Principal Component Analysis,” Diagnostics, vol. 14, no. 23, Dec. 2024, doi: 10.3390/diagnostics14232736.
[14] B. U. Maheswari et al., “Explainable deep-neural-network supported scheme for tuberculosis detection from chest radiographs,” BMC Med Imaging, vol. 24, no. 1, Dec. 2024, doi: 10.1186/s12880-024-01202-x.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Ali Samsul Latupono, Majid Rahardi

This work is licensed under a Creative Commons Attribution-ShareAlike 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 a Creative Commons Attribution License (Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) ) that allows others to share the work with an acknowledgement 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 acknowledgement 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 (See The Effect of Open Access).








