Automated Re-Identification of Holstein-Friesian Cattle in Dense Crowds

📅 2026-02-17
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This study addresses the challenge of reliable detection and re-identification (Re-ID) of Holstein cattle in densely populated settings, where existing methods suffer from occluded contours and disruptive coat patterns. To overcome these limitations, the authors propose an integrated detection–segmentation–recognition pipeline that uniquely combines open-vocabulary zero-shot localization with the Segment Anything Model (SAM) for preprocessing, followed by an unsupervised contrastive learning framework to construct the Re-ID network. This approach significantly enhances detection robustness and cross-domain generalization in crowded scenarios. Evaluated on a newly curated real-world farm CCTV dataset, the method achieves detection and Re-ID accuracies of 98.93% and 94.82%, respectively, outperforming current baselines by 47.52% and 27.13%.

Technology Category

Application Category

📝 Abstract
Holstein-Friesian detection and re-identification (Re-ID) methods capture individuals well when targets are spatially separate. However, existing approaches, including YOLO-based species detection, break down when cows group closely together. This is particularly prevalent for species which have outline-breaking coat patterns. To boost both effectiveness and transferability in this setting, we propose a new detect-segment-identify pipeline that leverages the Open-Vocabulary Weight-free Localisation and the Segment Anything models as pre-processing stages alongside Re-ID networks. To evaluate our approach, we publish a collection of nine days CCTV data filmed on a working dairy farm. Our methodology overcomes detection breakdown in dense animal groupings, resulting in a 98.93% accuracy. This significantly outperforms current oriented bounding box-driven, as well as SAM species detection baselines with accuracy improvements of 47.52% and 27.13%, respectively. We show that unsupervised contrastive learning can build on this to yield 94.82% Re-ID accuracy on our test data. Our work demonstrates that Re-ID in crowded scenarios is both practical as well as reliable in working farm settings with no manual intervention. Code and dataset are provided for reproducibility.
Problem

Research questions and friction points this paper is trying to address.

cattle re-identification
dense crowds
Holstein-Friesian
detection breakdown
animal identification
Innovation

Methods, ideas, or system contributions that make the work stand out.

detect-segment-identify pipeline
Open-Vocabulary Weight-free Localisation
Segment Anything Model
cattle re-identification
unsupervised contrastive learning
🔎 Similar Papers
No similar papers found.
P
Phoenix Yu
School of Computer Science, Merchant Venturers Building, Woodland Road, University of Bristol, Bristol, BS8 1UB, Bristol, United Kingdom
Tilo Burghardt
Tilo Burghardt
University of Bristol
Animal BiometricsAI for ConservationConservation TechnologyComputer VisionImageomics
A
Andrew W Dowsey
Bristol Veterinary School, University of Bristol, Langford House, Dolberry, Churchill, Bristol, BS40 5DU, Bristol, United Kingdom
N
Neill W Campbell
School of Computer Science, Merchant Venturers Building, Woodland Road, University of Bristol, Bristol, BS8 1UB, Bristol, United Kingdom