Register      Login
Animal Production Science Animal Production Science Society
Food, fibre and pharmaceuticals from animals
RESEARCH ARTICLE

Image-processing technique to measure pig activity in response to climatic variation in a pig barn

A. Costa A C , G. Ismayilova A , F. Borgonovo A , S. Viazzi B , D. Berckmans B and M. Guarino A
+ Author Affiliations
- Author Affiliations

A Department of Health, Animal Science and Food Safety, Faculty of Veterinary Medicine Università degli Studi di Milano, via Celoria 10, 20133 Milan, Italy.

B Measure, Model & Manage Bioresponses (M3-BIORES), Laboratory for Agricultural Buildings Research, Catholic University of Leuven, Kasteelpark Arenberg 30, B-3001 Leuven, Belgium.

C Corresponding author. Email: annamaria.costa@unimi.it

Animal Production Science 54(8) 1075-1083 https://doi.org/10.1071/AN13031
Submitted: 26 January 2013  Accepted: 17 September 2013   Published: 26 November 2013

Abstract

In the past decades, the increasing scale of intensive pig farms led farmers to use automatic tools to monitor the welfare and health of their animals. Visual observation and manual monitoring, usually practiced in small-scale farms, is unreliable in large-scale husbandry, and is expensive and time consuming. Environmental parameters are crucial information for the efficient management of piggery buildings, as they have a significant effect on production efficiency, health and welfare of confined animals. The aim of the present study was to evaluate the relationship between pig activity and environmental parameters in a pig building by means of image analysis. The barn for 350 fattening pigs was open-space, mechanically ventilated and subdivided into 16 pens with fully slatted floor. The room was equipped to monitor the ventilation rate, internal and external temperature and relative humidity every minute. For the experiments, two adjacent pens were selected, each 5.9 by 2.6 m, with ~16 pigs in each. Pigs were continuously monitored during 30 days using an infrared-sensitive CCD camera that was mounted 5 m above the floor. Recorded data were processed in real time by Eyenamic, an innovative software that continuously and automatically registers the behaviour of a group of animals, intended as the activity and occupation indices of the pigs. A preliminary virtual subdivision of the two pens in four zones (two zones for each pen) was performed to evaluate differences in activity/occupation indices in ‘front’ and ‘back’ zones of the pen. Recorded images were visually observed in the laboratory to estimate pig activity type in relation to the indices calculated by Eyenamic software. The occupation index showed higher values (up to 0.75 units) in Zones 1 and 4 placed near the corridor. There was a significant relation between pig occupation index measured in the two pens and ventilation rate, temperature and humidity. The interaction between ventilation and humidity and temperature and humidity significantly affected pig movements during the day. Pigs tended to stay in the part of the pen far from the external wall, where air velocity was higher, probably because this is a ‘central zone’ in the barn, characterised by a reasonable air movement (~0.30 m/s). On the contrary, the part of the pen nearest to the external wall, characterised by a humid floor surface and by a limited air speed, was occupied by animals at the trough mainly during feeding times and for defecation and urination.

Additional keywords: activity index, environmental parameters, image analysis, occupation index, on-line monitoring.


References

Aarnink AJA, van den Berg AJ, Keen A, Hoeksma P, Verstegen MWA (1996) Effect of slatted floor area on ammonia emission and on the excretory and lying behaviour of growing pigs. Journal of Agricultural Engineering Research 64, 299–310.
Effect of slatted floor area on ammonia emission and on the excretory and lying behaviour of growing pigs.Crossref | GoogleScholarGoogle Scholar |

Baldwin BA, Ingram DL (1967) Behavioural thermoregulation in pigs. Physiology & Behavior 2, 15–21.
Behavioural thermoregulation in pigs.Crossref | GoogleScholarGoogle Scholar |

Banhazi TM, Currie E, Reed S, Lee IB, Aarnink AJA (2009) Controlling the concentrations of airborne pollutants in piggery building. In ‘Sustainable animal production: the challenges and potential developments for professional farming’. (Eds A Aland, F Madec) pp. 285–311. (Wageningen Academic Publishers: Wageningen, The Netherlands)

Berckmans D, Vandenbroeck Ph, Goedseels V (1991) Sensor for continuous ventilation rate measurement in livestock buildings – integration in the control system. ASAE paper 91, no. 4031.

Bloemen H, Berckmans D, Aerts JM, Goedseels V (1997) Image analysis to measure activity of animals. Equine Veterinary Journal. Supplement 23, 16–19.

Bockisch FJ, Jungbluth T, Rudovsky A (1999) Technical indicators for the evaluation of housing system for cattle, pigs and laying hens in relation to animal welfare aspects. Züchtungskunde 71, 38–63.

Cangar Ö, Leroy T, Guarino M, Vranken E, Fallon R, Lenehan J, Mee J, Berckmans D (2008) Automatic real-time monitoring of locomotion and posture behaviour of pregnant cows prior to calving using online image analysis. Computers and Electronics in Agriculture 64, 53–60.
Automatic real-time monitoring of locomotion and posture behaviour of pregnant cows prior to calving using online image analysis.Crossref | GoogleScholarGoogle Scholar |

Ekkel ED, Spoolder HAM, Hulsegge I, Hopster H (2003) Lying characteristics as determinants for space requirements in pigs. Applied Animal Behaviour Science 80, 19–30.
Lying characteristics as determinants for space requirements in pigs.Crossref | GoogleScholarGoogle Scholar |

Frost AR, Parsons DJ, Stacey KF, Robertson AP, Welch SK, Filmer D, Fothergill A (2003) Progress towards the development of an integrated management system for broiler chicken production. Computers and Electronics in Agriculture 39, 227–240.
Progress towards the development of an integrated management system for broiler chicken production.Crossref | GoogleScholarGoogle Scholar |

Graves HB (1984) Behaviour and ecology of wild and feral swine (Sus scrofa). Journal of Animal Science 58, 482–492.

Guo H, Lemay SP, Barber EM, Crowe TG, Chénard L (2001). Humidity control for swine buildings in cold climate. Part II: development and evaluation of a humidity controller. Canadian Biosystems Engineer 43, 5.37–5.46.

Huynh TTT, Aarnink AJA, Verstegen MWA, Gerrits WJJ, Heetkamp MJW, Kemp B, Canh TT (2005) Effects of increasing temperatures on physiological changes in pigs at different relative humidities. American Society of Animal Science 83, 1385–1396.

Huynh TTT, Aarnink AJA, Heetkamp MJW, Verstegen MWA, Kemp B (2007) Evaporative heat loss from group-housed growing pigs at high ambient temperatures. Journal of Thermal Biology 32, 293–299.
Evaporative heat loss from group-housed growing pigs at high ambient temperatures.Crossref | GoogleScholarGoogle Scholar |

Jones JB, Burgess LR, Webster AJF, Wathes CM (1996) Behavioural responses of pigs to atmospheric ammonia in a chronic choice test. Animal Science 63, 437–445.
Behavioural responses of pigs to atmospheric ammonia in a chronic choice test.Crossref | GoogleScholarGoogle Scholar | 1:CAS:528:DyaK2sXhtFCkurk%3D&md5=a76089da4172f1eeee8bf5f5ddebb42dCAS |

Kashiha M, Bahr C, Amirpour Haredasht S, Ott S, Moons CPH, Niewold TA, Ödberg FO, Berckmans D (2013a) The automatic monitoring of pigs water use by cameras. Computers and Electronics in Agriculture 90, 164–169.
The automatic monitoring of pigs water use by cameras.Crossref | GoogleScholarGoogle Scholar |

Kashiha M, Pluk A, Bahr C, Vranken E, Berckmans D (2013b) Development of an early warning system for a broiler house using computer vision. Biosystems Engineering 116, 36–45.
Development of an early warning system for a broiler house using computer vision.Crossref | GoogleScholarGoogle Scholar |

Lee C, Giles LR, Bryden WL, Downing JL, Owens PC, Kirby AC, Wynn PC (2005) Performance and endocrine responses of group housed weaner pigs exposed to the air quality of a commercial environment. Livestock Production Science 93, 255–262.
Performance and endocrine responses of group housed weaner pigs exposed to the air quality of a commercial environment.Crossref | GoogleScholarGoogle Scholar |

Lemay SP, Welford EL, Zyla L, Gonyou HW, Chenard L, Godbout S, Barber E (2002) Pig urination behaviour related to ammonia emissions. Paper 02-507. In ‘AIC 2002 meeting’. (CSAE/SCGR: Saskatoon, Saskatchewan, Canada)

MWPS (1983) ‘Swine housing and equipment handbook. MWPS-8.’ (Midwest Plan Service, Iowa State University: Ames, IA)

Olsen AW, Dybkjær L, Simonsen HB (2001) Behaviour of growing pigs in pens with outdoor runs. II. Temperature regulatory behaviour, comfort behaviour and dunging preferences. Livestock Production Science 69, 265–278.
Behaviour of growing pigs in pens with outdoor runs. II. Temperature regulatory behaviour, comfort behaviour and dunging preferences.Crossref | GoogleScholarGoogle Scholar |

Otsu N (1979) A threshold selection method from gray-level histograms. IEEE Transactions on Systems, Man, and Cybernetics 9, 62–66.

Pedersen S (1982) Lufthastighedes, temperaturens og stroelsens indflydelse på slagtesvineproduktionen. [The influence of air velocity, temperature bedding on pig production]. DLU – Beretning 11. De Landbrugstekniske Undersoegelser, Otterup, Denmark.

Pedersen S, Christensen B (1977) Lufthastighedens indflydelse på slagtesvineproduktionen. [Influence of air velocity on fattening pig production]. SBI – Landbrugsbyggeri 52/DLU-Beretning 19. De Landbrugstekniske Undersoegelser, Otterup, Denmark.

Pedersen S, Christensen B (1979) Lufthastighedes – og temperaturvariatoners indflydelse på slagtesvineproduktionen. [Influence of air velocity and temperature variations on fattening pig production]. SBI – Landbrugsbyggeri 58/DLU-Beretning 19. De Landbrugstekniske Undersoegelser, Otterup, Denmark.

Sällvik K, Walberg K (1984) The effect of air velocity and temperature on the behaviour and growth of pigs. Journal of Agricultural Engineering Research 30, 305–312.
The effect of air velocity and temperature on the behaviour and growth of pigs.Crossref | GoogleScholarGoogle Scholar |

Sekhar NU (1998) Crop and livestock depredation caused by wild animals in protect areas: the case of Sariska Tiger Reserve, Rajasthan, India. Environmental Conservation 25, 160–171.
Crop and livestock depredation caused by wild animals in protect areas: the case of Sariska Tiger Reserve, Rajasthan, India.Crossref | GoogleScholarGoogle Scholar |

Shao B, Xin H (2008) A real-time computer vision assessment and control of thermal comfort for group-housed pigs. Computers and Electronics in Agriculture 62, 15–21.
A real-time computer vision assessment and control of thermal comfort for group-housed pigs.Crossref | GoogleScholarGoogle Scholar |

Shao J, Xin H, Harmon JD (1997) Neural network analysis of postural behaviour of young swine to determine their thermal comfort state. Transactions of the ASAE. American Society of Agricultural Engineers 40, 755–760.

Smith WJ, Penny RHC (1986) Behavioral problems including vices and cannibalism. In ‘Diseases of swine’. (Eds AD Leman, BE Straw, RD Glock, WL Mengeling, RHC Penny, E Scholl) 6th edn. pp. 762–772. (Iowa State University Press: Ames, IA)

Verstegen MWA, van der Hel W (1974) The effect of temperature and type of floor on metabolic rate and effective critical temperatures in groups of growing pigs. Animal Production 18, 1–11.
The effect of temperature and type of floor on metabolic rate and effective critical temperatures in groups of growing pigs.Crossref | GoogleScholarGoogle Scholar |

Wood-Gush DGM, Vestergaard K, Petersen HV (1990) The significance of motivation and environment in the development of exploration in pigs. Biology of Behaviour 15, 39–52.

Xin H (1999) Assessing swine thermal comfort by image analysis of postural behaviours. Journal of Animal Science 77, 1–9.

Zhu W, Pu X, Li X, Zhu X (2009) Automated detection of sick pigs based on machine vision. In ‘IEEE International Conference on Intelligent Computing and Intelligent Systems, 2009’. Available at http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=5358295 [Verified 7 November 2013]