Recognizing the rooting action of prepartum sow in free-farrowing pen using computer vision

被引:4
作者
Yang, Ruotong [1 ,2 ]
Chen, Zikang [1 ,2 ]
Xu, Huanliang [1 ,2 ]
Shen, Mingxia [1 ,2 ]
Li, Pinghua [3 ,4 ]
Norton, Tomas [5 ]
Lu, Mingzhou [1 ,2 ]
机构
[1] Nanjing Agr Univ, Coll Artificial Intelligence, Nanjing 210031, Peoples R China
[2] Nanjing Agr Univ, Key Lab Livestock Farming Equipment, Minist Agr & Rural Affairs, Nanjing 210031, Peoples R China
[3] Expt Pig Farm Jiangsu Huaian Res Inst, Huaian 223200, Peoples R China
[4] Nanjing Agr Univ, Coll Anim Sci & Technol, Nanjing 210031, Peoples R China
[5] Katholieke Univ Leuven, M3 BIORES Measure Model & Manage Bioresponses, B-3001 Leuven, Belgium
基金
中国国家自然科学基金;
关键词
Prepartum sow behavior; Movable crate farrowing pen; Rooting action; Histogram of oriented optical flow; Action recognition; OPTICAL-FLOW; HEART-RATE; BEHAVIOR; PERFORMANCE; MORTALITY; CRATES; ONSET;
D O I
10.1016/j.compag.2023.108167
中图分类号
S [农业科学];
学科分类号
09 ;
摘要
The behavior of prepartum sows in natural or semi-natural environments is primarily characterized by their motivation for nest-building. This behavior includes actions such as rooting, pawing, and foraging. Automatic recognition of these specific actions can be beneficial for identifying this nesting behavior and assessing a sow's maternal ability, as well as predicting the approach of the delivery time. In this study, an automatic method for rooting action recognition was developed for prepartum sow in opened movable crate farrowing pen using computer vision. An object detection model was trained first using the YOLOv5 network to enable the segmentation of the sow body and the head region, as well as posture estimation simultaneously. Then, the FlowNet2.0 network was implemented to estimate the optical flow of sow's head movement. A histogram of oriented optical flow with adaptive direction adjustment was proposed to select the frames in which the sow's head moved in the direction of the animal's body orientation. Finally, a support vector machine (SVM) classifier was trained to classify rooting and non-rooting actions. The input feature vector for the classifier was constructed from variations in head motion direction, sow posture and head position. The developed method was tested using 324 short video episodes (each lasting at least 4 s) and 10 long videos (each lasting about 47 min) of sows in opened movable crate farrowing pens. The test results indicated that the developed method can identify whether a video episode containing rooting action or not with the accuracy, sensitivity, and precision of 93.2%, 93.8%, and 92.7%, respectively. For long videos, our method achieved a sensitivity of 80.3% and precision of 84.5% in detecting temporal rooting action proposals with a temporal Intersection over-Union (tIOU) & GE; 0.5. The presented method provides an automatic way to detect prepartum sow's rooting actions, which can be further utilized to recognize their nest-building behavior and predict the impending delivery time of the sows.
引用
收藏
页数:13
相关论文
共 34 条
  • [1] Drying and warming immediately after birth may reduce piglet mortality in loose-housed sows
    Andersen, I. L.
    Haukvik, I. A.
    Boe, K. E.
    [J]. ANIMAL, 2009, 3 (04) : 592 - 597
  • [2] Crushing of piglets by the mother sow (Sus scrofa) -: purely accidental or a poor mother?
    Andersen, IL
    Berg, S
    Boe, KE
    [J]. APPLIED ANIMAL BEHAVIOUR SCIENCE, 2005, 93 (3-4) : 229 - 243
  • [3] Sows' pre- and post-crate opening behaviour in farrowing pens with different opening times
    Baude, Bianca -Marie
    Krugmann, Katja
    Diers, Sophie
    Krieter, Joachim
    [J]. LIVESTOCK SCIENCE, 2023, 269
  • [4] Chaudhry R, 2009, PROC CVPR IEEE, P1932, DOI 10.1109/CVPRW.2009.5206821
  • [5] Behaviour recognition of pigs and cattle: Journey from computer vision to deep learning
    Chen, Chen
    Zhu, Weixing
    Norton, Tomas
    [J]. COMPUTERS AND ELECTRONICS IN AGRICULTURE, 2021, 187 (187)
  • [6] Nest-building, behavioural disturbances and heart rate in farrowing sows kept in crates and Schmid pens
    Damm, BI
    Lisborg, L
    Vestergaard, KS
    Vanicek, J
    [J]. LIVESTOCK PRODUCTION SCIENCE, 2003, 80 (03): : 175 - 187
  • [7] The effects of confinement on periparturient behaviour and circulating prolactin, prostaglandin F2α and oxytocin in gilts with access to a variety of nest materials
    Damm, BI
    Bildsoe, M
    Gilbert, C
    Ladewig, J
    Vestergaard, KS
    [J]. APPLIED ANIMAL BEHAVIOUR SCIENCE, 2002, 76 (02) : 135 - 156
  • [8] FlowNet: Learning Optical Flow with Convolutional Networks
    Dosovitskiy, Alexey
    Fischer, Philipp
    Ilg, Eddy
    Haeusser, Philip
    Hazirbas, Caner
    Golkov, Vladimir
    van der Smagt, Patrick
    Cremers, Daniel
    Brox, Thomas
    [J]. 2015 IEEE INTERNATIONAL CONFERENCE ON COMPUTER VISION (ICCV), 2015, : 2758 - 2766
  • [9] Perinatal mortality in the pig: environmental or physiological solutions?
    Edwards, SA
    [J]. LIVESTOCK PRODUCTION SCIENCE, 2002, 78 (01): : 3 - 12
  • [10] Two-frame motion estimation based on polynomial expansion
    Farnebäck, G
    [J]. IMAGE ANALYSIS, PROCEEDINGS, 2003, 2749 : 363 - 370