bioRxivBioinformaticsPreprint
Automated Detection of Livestock Gastrointestinal Parasite Eggs and Cysts Using YOLOv8-Based Deep Learning
- Citations
- 0
Abstract
Parasitic infection is one of the common health problems of livestock in Bangladesh. Due to the country's climate, heavy monsoon rainfall, low biosecurity in farms, and high humidity, along with presence of suitable vector organisms, gastrointestinal parasitism remains widespread in cattle and other livestock. The standard method of diagnosis is microscopic examination of fecal samples, but this depends on manual observation, which is time-consuming and can lead to human error, mainly because many parasite eggs look similar to each other and samples often contain contaminants that can be mistaken for eggs or cysts. In this study, we tried to apply the YOLOv8 deep learning model for automated detection of parasitic eggs and cysts from microscopic images of livestock fecal samples. Images of clinical cases were collected, annotated, and used to train the model in Python, with batch size 16, auto optimizer, learning rate 0.01, momentum 0.937 and weight decay 0.0005. Training was done using Google Colab, and the model was evaluated using precision, recall, F1-score, mAP50, and mAP50-95. The model achieved a precision of 56%, recall of 24%, F1-score of 33.6%, mAP50 of 33%, and mAP50-95 of 22%. The relatively low recall and F1-score indicate that the model still has considerable limitations, largely due to insufficient species-specific training data and presence of image artifacts. Underrepresentation of some parasite species, such as Trichuris spp., in the dataset also caused class imbalance, which affected the model's ability to detect these species reliably. Despite these limitations, the study indicates that YOLOv8 architecture has some potential to be used for detection of parasitic eggs and cysts from microscopic images, and that further work with larger and more balanced datasets may improve performance and applicability in veterinary diagnostics. Keywords: YOLOv8, livestock parasites, deep learning, microscopic image analysis, veterinary diagnostics, Bangladesh
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Automatic identification of intestinal parasites in reptiles using microscopic stool images and convolutional neural networks
F. Grijalva, B. Nunez, … D. Benitez·bioRxiv·Feb 6, 2022
- Identification of snails and parasites of medical importance via convolutional neural network: an application for human schistosomiasis
Zac Yung-Chun Liu, Andy J. Chamberlin, … Giulio A. De Leo·bioRxiv·Jul 24, 2019
- A Novel Transfer Learning Approach for Toxoplasma Gondii Microscopic Image Recognition by Fuzzy Cycle Generative Adversarial Network
Sen Li, Aijia Li, … Yang Zhang·bioRxiv·Jul 16, 2019
- Mobile microscopy and telemedicine platform assisted by deep learning for quantification of Trichuris trichiura infection.
E. Dacal, D. Bermejo-Pelaez, … M. Luengo-Oroz·bioRxiv·Jan 19, 2021
- Automated detection of macropods in Tasmania using drone surveys and convolutional neural networks (CNNs)
Yee Von Teo, Darren Turner, … Barry W. Brook·bioRxiv·Nov 26, 2025
- Dairy DigiD ~ A Deep Learning-Based, Non-Invasive Biometric Identification System for Dairy Cattle Using Detectron2
Shubhangi Mahato, Hanqing Bi, Suresh Raja Neethirajan·bioRxiv·Dec 14, 2024