Journal of Electronics, Electromedical Engineering, and Medical Informatics
Vol 8 No 3 (2026): July

Automated Detection and Grading of Tuberculosis Bacilli in Ziehl Neelsen-Stained Sputum Using YOLO with IUATLD-Based Classification

Syevana Dita Musvika (Master of Biomedical Engineering Study Program, Department of Physics, Faculty of Science and Technology, Universitas Airlangga, Surabaya, Indonesia
Department of Medical Electronics Technology, Poltekkes Kemenkes Surabaya, Surabaya, Indonesia)

Riries Rulaningtyas (Master of Biomedical Engineering Study Program, Department of Physics, Faculty of Science and Technology, Universitas Airlangga, Surabaya, Indonesia)
Khusnul Ain (Master of Biomedical Engineering Study Program, Department of Physics, Faculty of Science and Technology, Universitas Airlangga, Surabaya, Indonesia)
Pepy Dwi Endraswari (Clinical Microbiology Unit, Universitas Airlangga Hospital,Surabaya, Indonesia)
Annie Anak Joseph (Department of Electrical and Electronic Engineering, Faculty of Engineering, Universiti Malaysia Sarawak, 94300, Kota Samarahan, Sarawak, Malaysia)



Article Info

Publish Date
30 Jun 2026

Abstract

Tuberculosis (TB) remains one of the most pressing global health challenges, particularly in low- and middle-income countries, where diagnostic capacity is often limited. Accurate and efficient detection of Mycobacterium tuberculosis bacilli in sputum smear samples stained with Ziehl-Neelsen remains the cornerstone of TB diagnosis. However, conventional microscopic examination is inherently labor-intensive, subject to interobserver variability and prone to human error, leading to inconsistent diagnostic outcomes. Addressing these limitations, this study proposes the development of an automated bacilli detection and quantification system utilizing the YOLO (You Only Look Once) object detection framework, specifically the YOLOv8 architecture, to improve diagnostic accuracy, consistency, and efficiency in TB identification. The research methodology encompasses image acquisition of Ziehl Neelsen-stained sputum samples from the Microbiology Laboratory of Universitas Airlangga Hospital (RSUA) and publicly available repositories, followed by meticulous annotation using Roboflow. The annotated dataset was employed to train the YOLOv8 model, and performance was evaluated through key metrics, including accuracy, precision, and error rate. The developed model achieved an overall accuracy of 73.33%, with class-wise accuracies of 100% for BTA 1+, 80% for BTA 2+, and 40% for BTA 3+ categories, conforming to IUATLD classification standards. The suboptimal performance observed in the BTA 3+ category was attributed to discrepancies in Field of View (FOV) alignment between the microscope’s ocular lens and the attached digital camera, affecting image consistency. Despite this limitation, the results demonstrate the potential of YOLO-based automated detection systems to reduce dependence on manual analysis, enhance diagnostic objectivity, and accelerate TB screening workflows. Future work should prioritize hardware calibration, particularly FOV synchronization, and dataset diversification to further refine model performance and clinical applicability. The proposed approach represents a significant step towards scalable, rapid, and reliable TB diagnosis, with implications for broader adoption in resource-constrained healthcare environments.

Copyrights © 2026






Journal Info

Abbrev

jeeemi

Publisher

Subject

Computer Science & IT Control & Systems Engineering Electrical & Electronics Engineering Engineering

Description

The Journal of Electronics, Electromedical Engineering, and Medical Informatics (JEEEMI) is a peer-reviewed open-access journal. The journal invites scientists and engineers throughout the world to exchange and disseminate theoretical and practice-oriented topics which covers three (3) majors areas ...