Back to Search Start Over

Detection of Pig Movement and Aggression Using Deep Learning Approaches.

Authors :
Wei, Jiacheng
Tang, Xi
Liu, Jinxiu
Zhang, Zhiyan
Source :
Animals (2076-2615). Oct2023, Vol. 13 Issue 19, p3074. 15p.
Publication Year :
2023

Abstract

Simple Summary: In this study, a deep learning-based detection and identification method is proposed to detect and identify the movement duration and aggressive behavior of pigs under on-farm conditions by using computer vision technology and electronic identity cards. The performance of different target detection algorithms for individual pig and aggressive behavior detection is also evaluated. The aim of this study is to establish an automated system for detecting pig aggressive behavior and energy expenditure, which may be able to provide reliable data and technical support for the study of the social hierarchy of pigs, as well as the selection and breeding of pig health and aggression phenotypes. Motion and aggressive behaviors in pigs provide important information for the study of social hierarchies in pigs and can be used as a selection indicator for pig health and aggression parameters. However, relying only on visual observation or surveillance video to record the number of aggressive acts is time-consuming, labor-intensive, and lasts for only a short period of time. Manual observation is too short compared to the growth cycle of pigs, and complete recording is impractical in large farms. In addition, due to the complex process of assessing the intensity of pig aggression, manual recording is highly influenced by human subjective vision. In order to efficiently record pig motion and aggressive behaviors as parameters for breeding selection and behavioral studies, the videos and pictures were collected from typical commercial farms, with each unit including 8~20 pigs in 7~25 m2 space; they were bred in stable social groups and a video was set up to record the whole day's activities. We proposed a deep learning-based recognition method for detecting and recognizing the movement and aggressive behaviors of pigs by recording and annotating head-to-head tapping, head-to-body tapping, neck biting, body biting, and ear biting during fighting. The method uses an improved EMA-YOLOv8 model and a target tracking algorithm to assign a unique digital identity code to each pig, while efficiently recognizing and recording pig motion and aggressive behaviors and tracking them, thus providing statistics on the speed and duration of pig motion. On the test dataset, the average precision of the model was 96.4%, indicating that the model has high accuracy in detecting a pig's identity and its fighting behaviors. The model detection results were highly correlated with the manual recording results (R2 of 0.9804 and 0.9856, respectively), indicating that the method has high accuracy and effectiveness. In summary, the method realized the detection and identification of motion duration and aggressive behavior of pigs under natural conditions, and provided reliable data and technical support for the study of the social hierarchy of pigs and the selection of pig health and aggression phenotypes. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
20762615
Volume :
13
Issue :
19
Database :
Academic Search Index
Journal :
Animals (2076-2615)
Publication Type :
Academic Journal
Accession number :
172989702
Full Text :
https://doi.org/10.3390/ani13193074