Bacterial Pneumonia Classification using YOLOv11-Based Image Analysis Approach
DOI:
https://doi.org/10.66645/icsdehe2026.207Keywords:
Bacterial pneumonia detection, YOLOv11 model, CNN, KNN, Decision Tree, cloud environment, cloud deploymentAbstract
Bacterial pneumonia is a major health issue in all over the world. It requires precise and effective diagnostic instruments. In order to improve classification accuracy, this study combines a YOLOv11-based image processing system with other machine learning techniques to provide a unique method for pneumonia identification. The primary objectives include developing an optimized deep learning model for pneumonia detection, comparing its performance with traditional methods such as CNNs, K-Nearest Neighbors (KNN) and Decision Trees, and deploying the solution in a cloud environment for real-time inference. The proposed technique reduces overfitting by efficiently capturing spatial characteristics in chest X-ray images using YOLOv11. A comprehensive performance review demonstrated the model’s ability to distinguish between cases with and without pneumonia. A cloud based online application can provide an intuitive interface for submitting photos to the medical professionals with. It will help to receive real time diagnostic predictions using Streamlit. The outcomes show that the YOLOv11-based system outperforms current techniques in terms of accuracy and efficiency while preserving computing speed and cost-effectiveness in cloud deployment. The study provides a scalable tool for pneumonia diagnosis. Future work is to focus on further optimization including feature enhancements leading to ultimately improving patient outcomes.
References
Kundu, R., Das, R., Geem, Z. W., Han, G.-T., & Sarkar, R. (2021). Pneumonia detection in chest X-ray images using an ensemble of deep learning models. PLOS ONE, 16(9), e0256630. https://doi.org/10.1371/journal.pone.0256630
Mooney, P. (2018). Chest X-ray images (pneumonia) [Dataset]. Kaggle. https://www.kaggle.com/datasets/paultimothymooney/chest-xray-pneumonia
Karacı, A. (2022). VGGCOV19-NET: Automatic detection of COVID-19 cases from X-ray images using modified VGG19 CNN architecture and YOLO algorithm. Neural Computing and Applications, 34(10), 8253–8274. https://doi.org/10.1007/s00521-022-06918-x
Shahriar, S. M., Barua, M., & Barua, N. (2025). A CLAHE-enhanced vision transformer with OVR-SVM for breast cancer classification. In 2025 International Conference on Quantum Photonics, Artificial Intelligence, and Networking (QPAIN) (pp. 1–6). IEEE.
Goyal, S., & Singh, R. (2023). Detection and classification of lung diseases for pneumonia and COVID-19 using machine and deep learning techniques. Journal of Ambient Intelligence and Humanized Computing, 14(4), 3239–3259.
Saidani, T. (2025). Efficient tumor detection in medical imaging using advanced object detection model: A deep learning approach. International Journal of Advanced Computer Science and Applications, 16(1).
Li, Y., & He, X. (2021). COVID-19 detection in chest radiograph based on YOLO v5. In 2021 IEEE International Conference on Computer Science, Electronic Information Engineering and Intelligent Control Technology (CEI) (pp. 344–347). IEEE.
Gaggion, N., Mosquera, C., Mansilla, L., Saidman, J. M., Aineseder, M., Milone, D. H., & Ferrante, E. (2024). CheXmask: A large-scale dataset of anatomical segmentation masks for multi-center chest X-ray images. Scientific Data, 11(1), 511. https://doi.org/10.1038/s41597-024-03358-1
Saha, A., & Mishra, Y. (2021). Chest-xray-pneumonia [Dataset].
Hoebel, K. V., Fernando, J., & Lotter, W. (2024). Beyond structured attributes: Image-based predictive trends for chest X-ray classification. In Medical Imaging with Deep Learning.
Chowdhury, S., Barua, S., Banik, S., Naimuddin, K. M., & Sajib, I. H. (2025). Computer vision-based road accident classification from traffic surveillance [Preprint]. Preprints.org.
He, L., Zhou, Y., Liu, L., & Ma, J. (2024). Research and application of YOLOv11-based object segmentation in intelligent recognition at construction sites. Buildings, 14(12), 3777. https://doi.org/10.3390/buildings14123777
Awad, A., & Aly, S. A. (2025). Acute lymphoblastic leukemia diagnosis employing YOLOv11, YOLOv8, ResNet50, and Inception-ResNet-v2 deep learning models [Preprint]. arXiv. https://arxiv.org/abs/2502.09804
Awad, A., Hegazy, M., & Aly, S. A. (2024). Early diagnoses of acute lymphoblastic leukemia using YOLOv8 and YOLOv11 deep learning models [Preprint]. arXiv. https://arxiv.org/abs/2410.10701
Robles-Guerrero, A., Gómez-Jiménez, S., Saucedo-Anaya, T., López-Betancur, D., Navarro-Solís, D., & Guerrero-Méndez, C. (2024). Convolutional neural networks for real-time classification of beehive acoustic patterns on constrained devices. Sensors, 24(19), 6384.
Saha, S. (2018). A comprehensive guide to convolutional neural networks—The ELI5 way. Towards Data Science.
Taye, M. M. (2023). Theoretical understanding of convolutional neural network: Concepts, architectures, applications, future directions. Computation, 11(3), 52. https://doi.org/10.3390/computation11030052
Cunningham, P., & Delany, S. J. (2021). K-nearest neighbour classifiers: A tutorial. ACM Computing Surveys, 54(6), 1–25. https://doi.org/10.1145/3459665
Uddin, S., Haque, I., Lu, H., Moni, M. A., & Gide, E. (2022). Comparative performance analysis of K-nearest neighbour (KNN) algorithm and its different variants for disease prediction. Scientific Reports, 12(1), 6256. https://doi.org/10.1038/s41598-022-10358-x
Azar, A. T., & El-Metwally, S. M. (2013). Decision tree classifiers for automated medical diagnosis. Neural Computing and Applications, 23, 2387–2403.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Shathi Islam, Mustafa Muwafak Alobaedy, Mohd Nurul Hafiz Ibrahim, M. Kazem Chamran (Author)

This work is licensed under a Creative Commons Attribution 4.0 International License.
This work is licensed under a Creative Commons Attribution 4.0 International Licence.