Authors
Sarwer, A.
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
Preprint server:
bioRxiv
The authors list and abstract were imported from bioRxiv on 27 Aug 2026.
Advertisement
Stats
- Recommendations n/a n/a positive of 0 vote(s)
- Views 9
- Comments 0