Automatic counting and positioning of slaughter pigs within the pen using a convolutional neural network and video images

被引:14
作者
Jensen, Dan Borge [1 ]
Pedersen, Lene Juul [2 ]
机构
[1] Univ Copenhagen, Fac Hlth & Med Sci, Dept Vet & Anim Sci, Gronnegardsvej 2, DK-1870 Frederiksberg C, Denmark
[2] Aarhus Univ, Fac Sci & Technol, Dept Anim Sci, Blichers Alle 20, DK-8830 Tjele, Denmark
关键词
Convolutional neural network; Growing pigs; Machine vision; Pen fouling; Positioning behaviour; TEMPERATURE;
D O I
10.1016/j.compag.2021.106296
中图分类号
S [农业科学];
学科分类号
09 ;
摘要
Pen fouling is an undesired behaviour of slaughter pigs, which increases labour costs for the farmer, worsens the hygiene and welfare of the pigs, and has negative environmental consequences. Previous research suggests that monitoring the positioning behaviour of grower/finisher pigs within their pen has the potential to be used in early warning systems that can alert the farmer to an impending pen fouling event 1-3 days in advance. For such a warning system to be feasible, monitoring of the pigs' positioning behaviour must be automated. To this end, we present a novel yet relatively simple method, namely a convolutional neural network (CNN) with a single linear regression output node. The proposed CNN takes partial images of a pen, corresponding to the different areas of the pen, and outputs an estimated count of the number of pigs in the partial image. By inputting three partial images corresponding to the three areas of the pen, the model can estimate the number of pigs in each area. The trained CNN generally performs well when applied to data from unseen test pens, with mean absolute errors of less than 1 pig and coefficients of determination between observed and estimated counts above 0.9. In cases where the trained model underperforms on the test pens, fine-tuning by transfer learning can be applied; we show that an initially underperforming model can be fine-tuned on one day's worth of test set data (26 labelled images), after which it will produce near-perfect estimates on all subsequent days in the same test set.
引用
收藏
页数:13
相关论文
共 33 条
  • [11] Catastrophic forgetting in connectionist networks
    French, RM
    [J]. TRENDS IN COGNITIVE SCIENCES, 1999, 3 (04) : 128 - 135
  • [12] On the role of pre-existing discontinuities on the micromechanical behavior of confined rock samples: a numerical study
    Gao, Ge
    Meguid, Mohamed A.
    Chouinard, Luc E.
    [J]. ACTA GEOTECHNICA, 2020, 15 (12) : 3483 - 3510
  • [13] Towards on-farm pig face recognition using convolutional neural networks
    Hansen, Mark E.
    Smith, Melvyn L.
    Smith, Lyndon N.
    Salter, Michael G.
    Baxter, Emma M.
    Farish, Marianne
    Grieve, Bruce
    [J]. COMPUTERS IN INDUSTRY, 2018, 98 : 145 - 152
  • [14] Hillmann E, 2005, LANDBAUFORSCH VOLK, V55, P255
  • [15] Thermal behaviour of growing pigs in response to high temperature and humidity
    Huynh, TTT
    Aarnink, AA
    Gerrits, WJJ
    Heetkamp, MJH
    Canh, TT
    Spoolder, HAM
    Kemp, B
    Verstegen, MWA
    [J]. APPLIED ANIMAL BEHAVIOUR SCIENCE, 2005, 91 (1-2) : 1 - 16
  • [16] Convolutional-Neural Network-Based Image Crowd Counting: Review, Categorization, Analysis, and Performance Evaluation
    Ilyas, Naveed
    Shahzad, Ahsan
    Kim, Kiseon
    [J]. SENSORS, 2020, 20 (01)
  • [17] Jensen D.B., 2018, 2 INT C AGROBIGDATA
  • [18] Jensen D.B., 2019, 9 EUR C PREC LIV FAR
  • [19] Predicting pen fouling in fattening pigs from pig position
    Jensen, Dan Borge
    Larsen, Mona Lillian Vestbjerg
    Pedersen, Lene Juul
    [J]. LIVESTOCK SCIENCE, 2020, 231
  • [20] A multivariate dynamic linear model for early warnings of diarrhea and pen fouling in slaughter pigs
    Jensen, Dan Borge
    Toft, Nils
    Kristensen, Anders Ringgaard
    [J]. COMPUTERS AND ELECTRONICS IN AGRICULTURE, 2017, 135 : 51 - 62