Related Experiment Video
Updated: Jan 8, 2026

Imaging Mycobacterium tuberculosis in Mice with Reporter Enzyme Fluorescence
Published on: February 26, 2018
CNN-based image recognition of Acid-Fast Bacilli in sputum smears for enhanced tuberculosis diagnosis
Chandrakant Kokane1, Neeta A Deshpande2, Nitin Dhawas3
1Department of Computer Science and Engineering (Artificial Intelligence), Vishwakarma Institute of Technology, Pune, Maharashtra, India.
Background:
Tuberculosis (TB) is still one of the deadliest infectious illnesses in the world, especially in countries with low or middle income. An early and correct evaluation is very important for treating diseases effectively and stopping them from spreading. The most common way to diagnose is through sputum smear microscopy, which includes finding Acid-Fast Bacilli (AFB) by hand under a microscope. But this method has some problems, like sensitivity that changes, the need for skilled microscopists, and mistakes made by people. Recent improvements in AI, particularly Convolutional Neural Networks (CNNs), could make AFB identification easier and more accurate.
Methods:
This study suggests using CNN-based image recognition to automatically find AFB in sputum smear pictures. A large set of data was gathered from clinical labs. It included thousands of high-resolution pictures of AFB-positive and -negative samples. To make a ground truth collection, expert microbiologists labelled these pictures by hand. Techniques for adding more data were used to make the model more stable. Several CNN designs were tested, such as custom models and transfer learning methods that use ResNet50 and VGG16. A divided training-validation split was used to train the models, and the Adam optimiser and binary cross-entropy loss function were used to make them work better.
Results:
The ResNet50 transfer learning model did better than the others, with a 95.5 % AUC-ROC, 93.2 % accuracy, 91.7 % precision, and 92.4 % recall. With over 90 % precision and an F1-score, the modified CNN also showed that it could compete. Adding more data and transfer learning made generalisation better and cut down on overfitting. The confusion matrix study showed that ResNet50 had better sensitivity and specificity, which is important for TB detection because it reduces the number of false positives.
Conclusion:
The suggested CNN structure automatically finds AFB in sputum smear pictures, which improves the accuracy and regularity of diagnosis. This method can make the job of microscopists easier, cut down on mistakes in diagnosis, and improve TB treatment, especially in places with few resources. To make models more reliable and useful in the real world, more study should be done on adding more diagnostic tools and larger datasets.
More Related Videos
09:54Synthesis, Characterization, and Application of Superparamagnetic Iron Oxide Nanoprobes for Extrapulmonary Tuberculosis Detection
Published on: February 16, 2020
06:52Optimized Workflow for Iterative Bleaching Extends Multiplexity Imaging of Highly Autofluorescent Clinical Samples
Published on: July 11, 2025
Related Concept Videos
Sputum Studies I: Gram Stain, cytology, and Acid-fast smear and culture
Gram Stain
The Gram Stain is an integral part of sputum studies. It involves the staining of sputum, which permits...
Pulmonary Tuberculosis IV
Several diagnostic approaches are used to detect TB. The conventional method is the Tuberculin Skin Test (TST), also known as the Mantoux test. However, this method has...
Sputum Studies II: Culture and Sensitivity
Sputum culture and sensitivity is a medical procedure used to diagnose bacterial infections in the respiratory tract and select the most appropriate antibiotics for treatment. This process involves analyzing sputum samples of thick and opaque secretions produced in the lungs and airways. These samples are collected from patients and then sent to the laboratory for analysis.
The test can identify various pathogens responsible for respiratory infections, including Streptococcus,...