Life (Nov 2024)
AI-Based Analysis of Ziehl–Neelsen-Stained Sputum Smears for <i>Mycobacterium tuberculosis</i> as a Screening Method for Active Tuberculosis
Abstract
Tuberculosis is the primary cause of death due to infection in the world. Identification of Mycobacterium tuberculosis in sputum is a diagnostic test, which can be used in screening programs—especially in countries with a high incidence of tuberculosis—to identify and treat those persons with the highest risk of disseminating the infection. We previously developed an algorithm which is able to automatically detect mycobacteria on tissue; in particular, our algorithm identified acid-fast bacilli on tissue with 100% specificity, 95.65% sensitivity, and 98.33% accuracy. We tested this algorithm on 1059 Ziehl–Neelsen-stained sputum smears to evaluate its results as a possible tool for screening. The results were displayed as a heat map of 32 × 32 pixel patches. Analysis of the positive patches revealed a good specificity (86.84%) and 100% sensitivity for patches with a level of confidence over 90; furthermore, the accuracy remained over 95% for all levels of confidence over 80, except the class (95–100]. The modest specificity is caused by the peculiarities of smears (uneven thickness, dust contamination, lack of coverslip). We will train the algorithm on sputum smears to increase the specificity to over 95%. However, as our algorithm showed no false negatives, it is suitable for screening.
Keywords