An Experiment on Lung Disease Classification using YOLOv8

Authors

  • Nor Hazlyna Harun Data Science Research Lab, School of Computing, University Utara Malaysia. Institute for Advanced and Smart Digital Opportunities, School of Computing, University Utara Malaysia. https://orcid.org/0000-0002-6817-9874
  • Naqif Fared Data Science Research Lab, School of Computing, University Utara Malaysia https://orcid.org/0009-0001-1046-1965

DOI:

https://doi.org/10.58915/amci.v13i3.626

Abstract

Lung diseases are a leading cause of illness and mortality worldwide. Accurate and timely diagnosis is crucial for improving patient outcomes, but manual interpretation of chest X-rays by radiologists may consume a significant amount of time and is susceptible to errors. This study leverages the state-of-the-art YOLOv8 deep learning model to develop an automated system for classifying lung diseases from chest X-ray images. The proposed approach utilizes a large, diverse dataset of 21,165 chest X-ray images categorized into four classes: COVID-19, viral pneumonia, lung opacity, and normal. The YOLOv8-cls model is fine-tuned using transfer learning and advanced data augmentation techniques. The system achieves a high accuracy of approximately 95% across all disease classes while maintaining real-time performance. Confusion matrix analysis demonstrates strong performance in correctly identifying each condition, with COVID-19, normal, viral pneumonia and lung opacity cases correctly identified 97%, 97%, 99% and 93% of the time respectively. The outcomes validate the adaptability and reliability of deep learning, specifically YOLOv8, for automated lung disease detection, offering the potential to improve clinical workflows and patient care by providing efficient screening tools for practitioners. The study addresses limitations of previous works by utilizing a large consolidated dataset, reporting comprehensive computational efficiency metrics, and extending classification complexity without substantially impacting accuracy or speed. Future research should focus on further optimizations and extending the curated image repositories to include under-represented patient groups to enhance the model's inclusiveness and robustness.

Author Biography

Nor Hazlyna Harun, Data Science Research Lab, School of Computing, University Utara Malaysia. Institute for Advanced and Smart Digital Opportunities, School of Computing, University Utara Malaysia.

School of Computing,

UUM College of Arts and Sciences,

University Utara Malaysia.

 

Associate Professor

Keywords:

Deep Learning, Machine Learning, Computer Science

Downloads

Published

2024-10-01

How to Cite

Harun, N. H., & Fared, N. (2024). An Experiment on Lung Disease Classification using YOLOv8. Applied Mathematics and Computational Intelligence (AMCI), 13(3), 176–185. https://doi.org/10.58915/amci.v13i3.626

Issue

Section

Articles