AgriEngineering (Sep 2024)

Computational Techniques for Analysis of Thermal Images of Pigs and Characterization of Heat Stress in the Rearing Environment

  • Maria de Fátima Araújo Alves,
  • Héliton Pandorfi,
  • Rodrigo Gabriel Ferreira Soares,
  • Gledson Luiz Pontes de Almeida,
  • Taize Calvacante Santana,
  • Marcos Vinícius da Silva

DOI
https://doi.org/10.3390/agriengineering6030183
Journal volume & issue
Vol. 6, no. 3
pp. 3203 – 3226

Abstract

Read online

Heat stress stands out as one of the main elements linked to concerns related to animal thermal comfort. This research aims to develop a sequential methodology for the extraction of automatic characteristics from thermal images and the classification of heat stress in pigs by means of machine learning. Infrared images were obtained from 18 pigs housed in air-conditioned and non-air-conditioned pens. The image analysis consisted of its pre-processing, followed by color segmentation to isolate the region of interest and later the extraction of the animal’s surface temperatures, from a developed algorithm and later the recognition of the comfort pattern through machine learning. The results indicated that the automated color segmentation method was able to identify the region of interest with an average accuracy of 88% and the temperature extraction differed from the Therma Cam program by 0.82 °C. Using a Vector Support Machine (SVM), the research achieved an accuracy rate of 80% in the automatic classification of pigs in comfort and thermal discomfort, with an accuracy of 91%, indicating that the proposal has the potential to monitor and evaluate the thermal comfort of pigs effectively.

Keywords