| Literature DB >> 27144572 |
Jonguk Lee1, Long Jin2, Daihee Park3, Yongwha Chung4.
Abstract
Aggression among pigs adversely affects economic returns and animal welfare in intensive pigsties. In this study, we developed a non-invasive, inexpensive, automatic monitoring prototype system that uses a Kinect depth sensor to recognize aggressive behavior in a commercial pigpen. The method begins by extracting activity features from the Kinect depth information obtained in a pigsty. The detection and classification module, which employs two binary-classifier support vector machines in a hierarchical manner, detects aggressive activity, and classifies it into aggressive sub-types such as head-to-head (or body) knocking and chasing. Our experimental results showed that this method is effective for detecting aggressive pig behaviors in terms of both cost-effectiveness (using a low-cost Kinect depth sensor) and accuracy (detection and classification accuracies over 95.7% and 90.2%, respectively), either as a standalone solution or to complement existing methods.Entities:
Keywords: Kinect depth sensor; pig aggression recognition; support vector machine
Mesh:
Year: 2016 PMID: 27144572 PMCID: PMC4883322 DOI: 10.3390/s16050631
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1Overall structure of the pig aggression recognition system.
Figure 2Architecture for aggression detection and classification module based on hierarchical SVM.
Figure 3Geometric concept of the linear SVM algorithm.
Figure 4Geometric view of the nonlinear SVM.
Figure 5Pig housing unit installed with a stationary Kinect sensor.
Figure 6Sample images showing behaviors among the pigs: (a) Normal: walking alone; (b) Normal: walking together; (c) Aggression: head-to-head knocking; and (d) Aggression: chasing.
Labeled pig behaviors [17].
| Aggressive Type | Behavior Label | Description |
|---|---|---|
| Head knocking | Head-to-head knocking | Hitting the snout against the head of the receiving pig |
| Head-to-body knocking | Hitting the snout against the body of the receiving pig | |
| Chasing | Chasing | Following another pig rapidly, usually with biting or attempted biting |
Figure 7Minimum circumscribed rectangle.
Figure 8Example of pig detection based on the Kinect depth criterion: (a) All pigs detected by a Kinect sensor (the star symbols indicate standing pigs); (b) Only standing pigs detected by a Kinect sensor.
Aggressive behavior detection performance of the proposed system.
| Aggression Detector | ADR | FPR | FNR |
|---|---|---|---|
| 95.7% | 4.2% | 4.3% |
ADR(aggression detection rate); FPR(false positive rate); FNR(false negative rate).
Summary of the quantitative/qualitative analysis for the aggressive behavior detection.
| Parameter | Viazzi | Jin [ | Proposed Method |
|---|---|---|---|
| Normal data size | 150 | 60 | 215 |
| Aggressive data size | 150 | 60 | 115 |
| Used data | Private | Private | Private |
| Camera type | Color | Color | Depth |
| Camera resolution |
|
|
|
| Tracking | N/A | Yes | Yes |
| Features | Mean activity and occupation index | Mean circumscribed rectangle and velocity | Minimum, maximum, average, standard deviation of velocity, and distance between the pigs |
| Feature vector dimension | 2 | 2 | 5 |
| Method | Linear discriminant analysis | SVM | SVM |
| ADR | 88.7% | 93.3% | 95.7% |
| FPR | 10.7% | 8.3% | 4.2% |
| FNR | 11.3% | 6.7% | 4.3% |
Performance metrics for aggressive behavior classification.
| Aggression Classifier | Class | Precision | Recall |
|---|---|---|---|
| Head-to-head (or body) knocking | 88.9% | 92.3% | |
| Chasing | 91.5% | 87.8% | |
| 90.2% | 90.1% |
Summary of the quantitative/qualitative analysis for the aggressive behavior classification.
| Parameter | Oczak | Proposed Method |
|---|---|---|
| Aggressive behavior type | Medium and high aggression | Head-to-head (or body) knockingand chasing |
| Aggressive behavior data size | 634/1253 seconds | 61/54 episodes |
| Used data | Private | Private |
| Camera type | Color | Depth |
| Camera resolution |
|
|
| Tracking | N/A | Yes |
| Features | Average, maximum, minimum, summation and variance of activity index | Minimum, maximum, average, standard deviation of velocity, and distance between the pigs |
| Feature vector dimension | 5 | 5 |
| Method | Artificial neural network | SVM |
| Precision | 87.7% | 90.2% |
| Recall | 81.9% | 90.1% |
Figure 9Pig detection failure due to a heating lamp in winter: (a) RGB input image; (b) CLAHE output image; and (c) Kinect depth image.
Summary of the computational cost of each step.
| Parameter | Execution Time (ms) | Frame Rate (fps) |
|---|---|---|
| Depth information acquisition (per frame) | 56 | 17.85 |
| Feature extraction (per interacting pigs) | 10 | 100 |
| Aggressive detection/classification (per episode) | 1 | 30,000 |
| Total * | 1981 (per episode) | 15.14 |
* Computed as one interacting-pig, assumed to be detected from one 30-framed episode.