Abstract

The aim of this study is to develop a depth image analysis method to automatically detect aggressive behaviours of group-housed pigs. In this work 2 experiments were performed. In each experiment, 8 pigs from 3 pens were mixed for 3 days and then 8 h of video was recorded in each day. In the 24 h data of the first experiment, all the 883 aggressive 3 s-units and manually selected 883 non-aggressive 3 s-units were used as training set. In the 24 h data of the second experiment, all the 856 aggressive 3 s-units and manually selected 856 non-aggressive 3 s-units were used as test set. Firstly, frame-to-frame distance was set and then frame difference method was used to obtain moving pixels. Secondly, moving pixels caused by non-aggressive behaviours were removed by setting threshold of connected area. Number of filtered moving pixels were summed and defined as motion shape index (MSI) in each frame. After dividing all videos into 3 s-units, the maximum, mean, variance and standard deviation of MSI in each unit were extracted as features. Finally, support vector machine (SVM) was used to classify these features in order to detect aggression. Using the proposed algorithm, aggressive behaviours could be detected with an accuracy of 97.5%, a sensitivity of 98.2%, specificity of 96.7% and precision of 96.8%. The results indicate that this algorithm can be used to detect aggressive behaviours of pigs.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

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.