Abstract
In the pig industry, the social behaviors of preweaning piglets are critical indicators of their liveability, growth, health, and welfare status. In this study, we developed a novel method based on convolutional neural networks (CNNs) that extracts high-quality spatiotemporal features to detect different types of social behaviors among preweaning piglets: snout-snout and snout-body social nosing, and snout-snout and snout-body aggressive/playing behavior. In our method, piglets were first detected and individually tracked using an integrated CNN-based network. Upon piglet detection, the key points of the piglet body were detected using a key point detector and a 1-second-tracking-unit strategy was adopted to reduce the influence of tracking errors and missing the detection of piglets. To detect suspected social behaviors in a tracking unit, we constructed a self-adaptive spatial affinity kernel function to represent the relationships between piglets, and pairwise piglets with spatial affinity higher than 0.7 were kept for further analysis, while the others were filtered out. Thereafter, high-quality spatiotemporal features consisting of the piglets’ spatial affinity and the corresponding linear motion and angular motion intensities were extracted and input into a support vector machine to hierarchically detect and classify piglet social behaviors. In addition, the proportions of the four detected social behaviors associated with the interaction points were analyzed in short video clips and a long video that covered the whole daytime. Our method achieved a favorable detection performance with a recall of 0.9687, a precision of 0.9309, and an F1 of 0.9494 in the short video clips, and a recall of 0.9576, a precision of 0.9187, and an F1 of 0.9377 in the 8-h long video episode. This shows the feasibility of the detection of social behaviors for piglets using CNNs.
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.