Abstract
Pigs and their lactating piglets are herd animals, and breeders usually observe their social distance to determine their physiological status, such as when they form clusters during cold stress, or whether there are outlier piglets with abnormal growth conditions. Instead, papers on automated detection of piglet social distance are rare. This paper proposed a novel method, the convolutional neural network combined with modified local outlier factor (CNN-LOF), to quantify the piglet social density, and detect piglets far from the herd (outlier piglets). The convolutional neural network (CNN) model named YOLOv5 was used to construct the piglet detector, and auto-mark piglets by detection box, which adopted boxes' center points instead of the piglets. The optimized local outlier factor (LOF) algorithm was employed to calculate the social density of the piglets, and the outlier piglets were based on outlier factors greater than 2. Besides, the social density of different periods was calculated, compared, and analyzed. According to the results, the accuracy of CNN-LOF for detecting outlier piglets was 97.7% for the 6,113 test images measured. The larger social density of a piglet indicates more other piglets around and higher probability of being in the center of the herd. CNN-LOF and manual detection have a similarity of more than 80% in a continuous period of 1 h. In summary, this study quantifies the social density of suckling piglets, which also intuitively reveals the distribution of piglets in different environments, and provides technical support for precision livestock farming.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.