Related Experiment Video
Updated: Jul 18, 2025

13:42
Clinical Examination Protocol to Detect Atypical and Classical Scrapie in Sheep
Published on: January 19, 2014
13.2K
Spatio-Temporal-Based Identification of Aggressive Behavior in Group Sheep.
Yalei Xu1,2,3,4, Jing Nie1,2,3, Honglei Cen1,2,3
1College of Mechanical and Electrical Engineering, Shihezi University, Shihezi 832003, China.
Animals : an Open Access Journal From MDPI
|August 26, 2023
Summary
This study introduces an automated video streaming model for detecting sheep aggression, improving efficiency and objectivity over manual methods. The model achieves high precision and recall, outperforming image-based approaches by mitigating occlusion issues.
Area of Science:
- Agricultural Technology
- Animal Behavior
- Computer Vision
Background:
- Manual observation of group sheep aggression is inefficient and subjective.
- Automated detection systems are needed to improve livestock management and welfare.
- Existing image-based models struggle with occlusion, leading to false detections.
Purpose of the Study:
- To develop and evaluate a video streaming-based model for automated detection of aggressive behavior in group sheep.
- To enhance the efficiency and objectivity of sheep aggression monitoring.
- To address limitations of image-based detection models in handling feature occlusion.
Main Methods:
- Collected and labeled video data of sheep, including daily routines and aggressive incidents.
- Utilized YOLOv5 for sheep detection and coordinate extraction in video frames.
- Implemented a novel sheep tracking heuristic to sort coordinate data.
- Employed a Long Short-Term Memory (LSTM) framework for aggression prediction.
- Optimized model parameters including confidence, batch size, and frame skipping.
Main Results:
- The proposed video streaming model achieved 93.38% precision and 91.86% recall.
- The model effectively handles feature occlusion, a common issue in image-based detection.
- Demonstrated superior performance compared to traditional image-based detection methods for sheep aggression.
Conclusions:
- The video streaming-based model offers a more efficient and objective solution for detecting group sheep aggression.
- This approach overcomes the false detection problem caused by occlusion in image-based systems.
- The developed model has significant potential for improving sheep welfare and farm management through automated monitoring.

