Infectious Bovine Pinkeye Detection Using Computer Vision and Imbalance-Aware Learning
Michael Abalo, Jameson Brennan, Hossein Moradi Rekabdarkolaee
Abstract
Infectious bovine pinkeye is a contagious ocular disease that adversely affects cattle health, welfare, and agricultural productivity. Conventional diagnosis relies primarily on clinical observation, which can be subjective, time-consuming, and difficult to implement efficiently in large herds or remote settings. This study evaluated and compared You Only Look Once (YOLO) v11 and YOLOv26 for automated bovine pinkeye classification and investigated the effects of class-balancing strategies on model performance. Five variants (n, s, m, l, and x) of each architecture were trained and evaluated using the original imbalanced dataset, Random Minority Oversampling (RMO), and an adapted Synthetic Minority Oversampling Technique (SMOTE). Both YOLOv11 and YOLOv26 demonstrated strong classification performance, although the effects of class balancing varied across model variants. For YOLOv11, RMO-s achieved an accuracy of 0.99, a macro F1-score of 0.98, and a true positive rate (TPR) of 1.00, with no false-negative classifications. RMO-m also achieved a TPR of 1.00 with no false negatives. For YOLOv26, the original l, RMO-m, and RMO-l variants each achieved an accuracy of 0.99 and a macro F1-score of 0.98, with RMO-l attaining a TPR of 1.00 and no false negatives. Overall, RMO generally provided greater improvements in minority-class detection than adapted SMOTE, whereas the strong performance of the original YOLOv26-l demonstrates that oversampling was not necessary for all model variants. These findings demonstrate the potential of YOLOv11 and YOLOv26 for automated detection of bovine pinkeye and support further evaluation for livestock health monitoring.
Create a lesson
Related papers
Hi-OPD: Hierarchy-Aware Open-Prompt Detection for Remote Sensing Images
Shared title terminologycs.CVJinlong Hu, Yi Zhang, Zhiqi Xia et al.
Ev-YOLO: Uncertainty-Aware Object Detection via a Unified Evidential Formulation
Shared title terminologycs.CVSimon Barbarit-Gaboriau, Hind Laghmara, Rémi Boutteau et al.
MECAIL: Communication-Aware Incremental Learning for Object Detection with 14.6 KB Spatiotemporal Experts
Shared title terminologycs.CVMatthias Neuwirth-Trapp, Maarten Bieshaar, Danda Paudel et al.
A paired synthetic construction-site image dataset for robust computer vision under adverse conditions
Shared title terminologycs.CVViet Huy Duong, Ruoxin Xiong, Md Abdullah Al Forhad et al.
HOIBlender: Blending Lightweight Detection with Vision-Language Priors for Efficient Human-Object Interaction Detection
Shared title terminologycs.CVJunwen Chen, Keiji Yanai
Reconstructed holograms and explanation-aware evaluation for low-cost computational pollen analysis in veterinary cytology
Shared title terminologycs.CVSwarn Warshaneyan, Joial Danyal, Blaž Cugmas et al.