Click on “Download PDF” for the PDF version or on the title for the HTML version.


If you are not an ASABE member or if your employer has not arranged for access to the full-text, Click here for options.

Real-Time Measurement of Pig Activity in Practical Conditions

Published by the American Society of Agricultural and Biological Engineers, St. Joseph, Michigan www.asabe.org

Citation:  Livestock Environment VIII, 31 August – 4 September 2008, Iguassu Falls, Brazil  701P0408.(doi:10.13031/2013.25609)
Authors:   Toon Leroy, Federica Borgonovo, Annamaria Costa, Jean-Marie Aerts, Marcella Guarino, Daniel Berckmans

One way to tackle the problem of dust concentrations in pig housing is avoiding the peak concentrations that are caused by periods of agile movements of the pigs. However, to control the activity of the pigs there is still a lack of sensors to measure their activity level continuously in an on-line way. The purpose of this project was to develop a method for measuring the activity level of pigs in a pen in real time and identify an on-line behavior model to detect and predict occurrences of aggressiveness of pigs. For the experiments, 2 adjacent pig pens were used, each 6.9 by 2.6 meters in size and each populated with about 15 pigs. The equipment used for activity measurement consisted of an infrared-sensitive CCD camera that was mounted to the roof, 5 meters above the floor of the pen and connected to a PC with built in frame grabber. The camera was in a protective housing to shield it from dust and moisture. The lens was pointed downwards to get a top view of the pen. Images were captured with a resolution of 768 by 586 pixels and a 1 Hz frame rate. Software was developed to measure the activity level of animals, visible in the camera image, in real time and in practical conditions, i.e. a pig pen. Before the experiments, the two pens visible in the camera images were each divided in two zones, covering the left and right hand side, respectively. Every second, the algorithm logged the camera image and the activity index for each zone, defined as the fraction of the floor space in the pen that was covered or uncovered by pigs in the camera image during a one second period. i.e., the activity index is the fraction of floor space that is 'moving'. Finally the recorded video images were visually labeled in order to score animals’ behavior and find a relation with the automatically measured activity index. From the analysis of the automatically measured group activity index compared to the manual labeling a relation exists between the activity index and the behavior types ‘no activity’, ‘nuzzling’ and ‘feeding’. However, behavior related to aggressiveness of individual pigs (‘fighting’ and ‘biting’) can not be detected from instantaneous measurements of the group activity index.

(Download PDF)    (Export to EndNotes)