Back to Search
Start Over
Detection of aggressive behaviours in pigs using a RealSence depth sensor.
- Source :
-
Computers & Electronics in Agriculture . Nov2019, Vol. 166, pN.PAG-N.PAG. 1p. - Publication Year :
- 2019
-
Abstract
- • A new depth sensor of RealSense D435 was used for pig aggression detection. • Advantages of group analysis and 3D cameras were combined for the first time. • Connected area threshold was set to remove moving pixels without aggression. • SVM was used to classify the 4 features of motion shape index in each 3 s-unit. • The proposed algorithm could detect aggression with higher evaluation parameters. 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. [ABSTRACT FROM AUTHOR]
- Subjects :
- *SWINE
*SUPPORT vector machines
*IMAGE analysis
*DIFFERENCE sets
*BEHAVIOR
*DETECTORS
Subjects
Details
- Language :
- English
- ISSN :
- 01681699
- Volume :
- 166
- Database :
- Academic Search Index
- Journal :
- Computers & Electronics in Agriculture
- Publication Type :
- Academic Journal
- Accession number :
- 139454041
- Full Text :
- https://doi.org/10.1016/j.compag.2019.105003