Fungal recognition in vaginal discharge using deep learning analysis of mobile device-acquired microscopic images

Background Vulvovaginal candidiasis (VVC) is a common fungal infection that is frequently diagnosed through manual microscopic examination of vaginal discharge. Artificial Intelligence (AI)-assisted analysis of microscopic images enables rapid and accurate diagnosis, supporting timely and effective antifungal therapeutic interventions. However, conventional light microscopy often lacks cameras, limiting digital image analysis and AI applications. While mobile devices offer a practical alternative, no AI tools currently exist for the automated detection of fungal cellular morphology in microscopic images captured by smartphones and tablets. In this study, we developed deep learning models to segment fungal morphologies in microscopic images of vaginal discharge acquired with smartphones and tablets. Methods Three models were developed: ResNet18 for binary classification ( Candida presence/absence), YOLOv5 for detection, and YOLOv11 for segmentation. Models were trained using 1,259 microscopy images of Gram-stained vaginal discharge acquired with smartphones or tablets, along with 67 images obtained from conventional microscopes. These images were divided into training, validation, and test sets. Annotated microscopic images for fungal elements were used to train YOLO models in a two-stage approach: Stage 1 utilized 687 annotated images of yeast infections to learn general fungal morphology, comprising 266 bounding box–annotated images sourced from Roboflow and 421 segmentation-labeled images manually annotated from the open-access dataset. Stage 2 fine-tuned the models on the annotated mobile device-acquired dataset. Metrics included F1-score, area under the curve (AUC), precision, recall, and mean average precision at 50% intersection over union (mAP50). Experts assessed segmentation outputs for diagnostic utility, providing explainability to the AI results. Results ResNet18 achieved F1-score=0.986, AUC = 0.99. YOLOv5 performed best at IoU=0.50 (precision=0.812, recall=0.622, mAP50 = 0.730); YOLOv11 at IoU=0.25 (precision=0.766, recall=0.700, mAP50 = 0.727). Expert ratings averaged 4.25/5. Only 3.68% of images were rated as inappropriate due to false negative or false positive segmentations. Conclusion ResNet18 accurately classified microscopic images for fungal elements, while the YOLOv11 model effectively delineated Candida morphologies, including yeasts, budding yeasts, and filamentous forms from clinical specimens. The high accuracy and positive expert feedback demonstrate the feasibility of integrating AI-assisted mobile microscopy into routine workflows, thereby advancing digital analysis of microbial infections using conventional light microscopy. With further clinical validation and expansion to include other infections, this approach holds great potential to establish robust real-world utility.

Authors

Institutions

Publication Details

Journal
Frontiers in Cellular and Infection Microbiology
Published
2026-03-12
DOI
https://doi.org/10.3389/fcimb.2026.1787545
Primary Topic
Cell Image Analysis Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Fungal recognition in vaginal discharge using deep learning analysis of mobile device-acquired microscopic images

Siriwoot Sookkhee, Narin Lawan, Siriporn Chongkae, Tanaporn Wangsanut et al.
Frontiers in Cellular and Infection Microbiology
Cell Image Analysis Techniques
article

Fungal recognition in vaginal discharge using deep learning analysis of mobile device-acquired microscopic images

Siriwoot Sookkhee, Narin Lawan, Siriporn Chongkae, Tanaporn Wangsanut, Phit Upaphong, Kornprom Pikulkaew, Monsicha Pongpom, Sara Wattanasombat
article en

Abstract

Background Vulvovaginal candidiasis (VVC) is a common fungal infection that is frequently diagnosed through manual microscopic examination of vaginal discharge. Artificial Intelligence (AI)-assisted analysis of microscopic images enables rapid and accurate diagnosis, supporting timely and effective antifungal therapeutic interventions. However, conventional light microscopy often lacks cameras, limiting digital image analysis and AI applications. While mobile devices offer a practical alternative, no AI tools currently exist for the automated detection of fungal cellular morphology in microscopic images captured by smartphones and tablets. In this study, we developed deep learning models to segment fungal morphologies in microscopic images of vaginal discharge acquired with smartphones and tablets. Methods Three models were developed: ResNet18 for binary classification ( Candida presence/absence), YOLOv5 for detection, and YOLOv11 for segmentation. Models were trained using 1,259 microscopy images of Gram-stained vaginal discharge acquired with smartphones or tablets, along with 67 images obtained from conventional microscopes. These images were divided into training, validation, and test sets. Annotated microscopic images for fungal elements were used to train YOLO models in a two-stage approach: Stage 1 utilized 687 annotated images of yeast infections to learn general fungal morphology, comprising 266 bounding box–annotated images sourced from Roboflow and 421 segmentation-labeled images manually annotated from the open-access dataset. Stage 2 fine-tuned the models on the annotated mobile device-acquired dataset. Metrics included F1-score, area under the curve (AUC), precision, recall, and mean average precision at 50% intersection over union (mAP50). Experts assessed segmentation outputs for diagnostic utility, providing explainability to the AI results. Results ResNet18 achieved F1-score=0.986, AUC = 0.99. YOLOv5 performed best at IoU=0.50 (precision=0.812, recall=0.622, mAP50 = 0.730); YOLOv11 at IoU=0.25 (precision=0.766, recall=0.700, mAP50 = 0.727). Expert ratings averaged 4.25/5. Only 3.68% of images were rated as inappropriate due to false negative or false positive segmentations. Conclusion ResNet18 accurately classified microscopic images for fungal elements, while the YOLOv11 model effectively delineated Candida morphologies, including yeasts, budding yeasts, and filamentous forms from clinical specimens. The high accuracy and positive expert feedback demonstrate the feasibility of integrating AI-assisted mobile microscopy into routine workflows, thereby advancing digital analysis of microbial infections using conventional light microscopy. With further clinical validation and expansion to include other infections, this approach holds great potential to establish robust real-world utility.

Frontiers in Cellular and Infection MicrobiologyVol. 16
Chiang Mai University (TH)
Openalex Percentile: Top 23%
Cell Image Analysis Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.