Deep Learning-Based Real-Time Classification of Thoracic Pathologies in Chest Radiographs

Authors

  • Hanan Sabbar Chouaib Doukkali University, El Jadida, Morocco https://orcid.org/0009-0008-4369-7916
  • Hassan Silkan Chouaib Doukkali University, El Jadida, Morocco
  • Khalid Abbad Sidi Mohamed Ben Abdellah University, Fes, Morocco

DOI:

https://doi.org/10.3991/ijoe.v21i14.58193

Keywords:

Thoracic Disease Classification, Chest X-ray Imaging, Deep Learning, YOLOv8n-cls, Medical Image Analysis, Real-Time Diagnosis.

Abstract


Diagnosing thoracic diseases from chest radiographs remains challenging, especially in resource-limited environments. This study presents YOLOv8n-cls, a lightweight deep learning model for real-time classification of five pathologies: 1) COVID-19, 2) fibrosis, 3) normal, 4) pneumonia, and 5) tuberculosis. The model was trained on a dataset of 11,019 chest X-ray images, combining public data from NIH ChestX-ray14 and a private clinical dataset, and achieving a Top-1 accuracy of 92.23%. Preprocessing included format conversion and text removal, while data augmentation techniques such as flipping, rotation, brightness/contrast adjustment, and affine translation were applied to improve model generalization. Performance evaluation relied on confusion matrices, precision, recall, F1-score, specificity, and ROC-AUC curves. Moreover, Grad-CAM visualizations were employed to enhance interpretability and analyze misclassification patterns. YOLOv8n-cls provides a strong balance between accuracy and computational efficiency, making it suitable for real-time clinical deployment.

Downloads

Published

2025-12-12

How to Cite

Sabbar, H., Silkan, H., & Abbad, K. (2025). Deep Learning-Based Real-Time Classification of Thoracic Pathologies in Chest Radiographs. International Journal of Online and Biomedical Engineering (iJOE), 21(14), pp. 20–37. https://doi.org/10.3991/ijoe.v21i14.58193

Issue

Section

Papers