Thermal Imaging-Based Detection of Sow and Piglet Behaviors Under Imbalanced Conditions in Commercial Farrowing Pens

Monitoring sow and piglet behaviors during farrowing is important for reducing piglet mortality and improving animal welfare in commercial swine production systems. However, accurate behavioral monitoring remains challenging because neonatal piglets are small, frequently occluded by the sow, and difficult to detect under low-light conditions, particularly for black-coated piglets during nighttime observation. In this study, thermal imaging combined with RGB imaging from a conventional visible-light video camera and deep learning-based object detection was applied for automated livestock monitoring under practical farrowing conditions. The dataset contained diverse sow postures and piglet-related activities acquired in a commercial farrowing-house environment. In addition, the dataset exhibited substantial class imbalance, with piglet-related behaviors representing only a small proportion of the total annotations. Three lightweight YOLO-based detection models were evaluated for livestock monitoring performance under commercial farm conditions. Results showed that lightweight detectors provided stable overall detection performance for general sow behavior monitoring, while anchor-free detection models demonstrated improved sensitivity for small piglet detection under highly imbalanced conditions. The findings demonstrate the feasibility of thermal imaging for continuous farrowing monitoring under variable lighting and occlusion conditions and highlight the importance of evaluating detection systems based on their ability to identify small neonatal targets relevant to practical farm management. This study provides useful insights for the development of automated precision livestock monitoring systems for commercial farrowing operations.

Authors

Institutions

Publication Details

Journal
Applied Sciences
Published
2026-06-30
DOI
https://doi.org/10.3390/app16136534
Primary Topic
Animal Behavior and Welfare Studies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Thermal Imaging-Based Detection of Sow and Piglet Behaviors Under Imbalanced Conditions in Commercial Farrowing Pens

Chia-Ying Chang
Applied Sciences
Animal Behavior and Welfare Studies
article

Thermal Imaging-Based Detection of Sow and Piglet Behaviors Under Imbalanced Conditions in Commercial Farrowing Pens

Chia-Ying Chang
article en

Abstract

Monitoring sow and piglet behaviors during farrowing is important for reducing piglet mortality and improving animal welfare in commercial swine production systems. However, accurate behavioral monitoring remains challenging because neonatal piglets are small, frequently occluded by the sow, and difficult to detect under low-light conditions, particularly for black-coated piglets during nighttime observation. In this study, thermal imaging combined with RGB imaging from a conventional visible-light video camera and deep learning-based object detection was applied for automated livestock monitoring under practical farrowing conditions. The dataset contained diverse sow postures and piglet-related activities acquired in a commercial farrowing-house environment. In addition, the dataset exhibited substantial class imbalance, with piglet-related behaviors representing only a small proportion of the total annotations. Three lightweight YOLO-based detection models were evaluated for livestock monitoring performance under commercial farm conditions. Results showed that lightweight detectors provided stable overall detection performance for general sow behavior monitoring, while anchor-free detection models demonstrated improved sensitivity for small piglet detection under highly imbalanced conditions. The findings demonstrate the feasibility of thermal imaging for continuous farrowing monitoring under variable lighting and occlusion conditions and highlight the importance of evaluating detection systems based on their ability to identify small neonatal targets relevant to practical farm management. This study provides useful insights for the development of automated precision livestock monitoring systems for commercial farrowing operations.

Applied SciencesVol. 16(13)
National Pingtung University of Science and Technology (TW)
Zero hunger
Openalex Percentile: Top 7%
Animal Behavior and Welfare Studies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.