Video-based cattle behaviour detection for digital twin development in precision dairy systems
Shreya Rao, Eduardo Rosa Medina Garcia, Suresh Neethirajan
Dalhousie University
Key points
From the paper's conclusion- We develop a video-based framework that detects and tracks individual cows and classifies seven behaviours under commercial barn conditions.
Abstract
Digital twins in dairy systems require reliable behavioural inputs. We develop a video-based framework that detects and tracks individual cows and classifies seven behaviours under commercial barn conditions. From 4964 annotated clips, expanded to 9600 through targeted augmentation, we couple YOLOv11 detection with ByteTrack for identity persistence and evaluate SlowFast versus TimeSformer for behaviour recognition. TimeSformer achieved 85.0% overall accuracy (macro-F1 0.84) and real-time throughput of 22.6 fps on NVIDIA L4 hardware. Attention visualizations concentrated on anatomically relevant regions (head and muzzle for feeding and drinking; torso and limbs for postures), supporting biological interpretability. Structured outputs (cow ID, start-end times, durations, and confidence) enable downstream use in nutritional modelling and integration with 3D digital-twin visualization environments, establishing a robust behavioural perception and state-estimation component within a dairy digital-twin architecture. The pipeline delivers continuous, per-animal activity streams suitable for individualized nutrition, predictive health, and automated management, providing a practical foundation for scalable dairy digital twins.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- From video-derived feeding behaviour to cow-level nutritional deviation signals: A dairy digital-twin decision-support frameworkbioRxiv · 2026
- Artificial intelligence-based dairy cattle behavior recognition for estrus detection via ensemble fusion of two camera viewsPLoS ONE · 2026
- Vision transformer-based multi-camera multi-object tracking framework for dairy cow monitoringSmart Agricultural Technology · 2025
- Cattle-CLIP: A Multimodal Framework for Dairy Cattle Behaviour Recognition from VideoAgriEngineering · 2026
- DTOFW: a lightweight tri-branch time-frequency fusion network for video-based recognition of diarrhea-related calf behaviorFrontiers in Veterinary Science · 2026
- Deep learning-based holstein face recognition in real-world farming conditionsSmart Agricultural Technology · 2025