Toward intelligent pig farming: Advancing health and welfare monitoring through computer vision–based behavioral analysis

Modern pig production is increasingly moving toward smart and intelligent farming systems, integrating advanced technologies such as artificial intelligence for precision management. Camera-based computer vision has emerged as a promising non-contact sensing tool for monitoring pig health and welfare through behavioral analysis, given the strong association between behavioral patterns and physiological status. Following a PRISMA-based search, 45 studies were included for critical synthesis on computer vision-based behavioral analysis in pigs, with emphasis on detectable behavioral indicators, imaging configurations, model architectures, post-processing strategies, and deployment constraints. Findings show that posture and nutritive behaviors are the most mature targets for monitoring because they are visually distinctive, biologically informative, and compatible with lightweight object-detection pipelines. In contrast, aggression, biting, enrichment interaction, suckling, and individual activity metrics require stronger temporal modeling, segmentation, or multi-object tracking, which increases annotation burden, computational cost, and susceptibility to occlusion and identity errors. Recent pig-specific modifications to YOLO, transformer-inspired, segmentation, and tracking models have improved performance through attention mechanisms, multi-scale feature fusion, occlusion-aware regression, lightweight convolution, and detector-tracker coupling. However, high reported accuracies often reflect controlled datasets rather than commercial robustness. Critical barriers include limited multi-farm validation, inconsistent annotation and post-processing rules, insufficient anomaly-detection thresholds, weak long-term identity preservation, and hardware constraints for edge deployment. Future efforts should prioritize developing standardized benchmarks, biologically grounded behavioral metrics, explainable and domain-adaptive artificial intelligence, and edge-ready architectures that convert model outputs into interpretable management alerts. This review provides a deployment-oriented framework for advancing computer vision from experimental behavior recognition toward scalable behavioral monitoring and intelligent decision support in pig production systems.

Authors

Institutions

Publication Details

Journal
Computers and Electronics in Agriculture
Published
2026-07-27
DOI
https://doi.org/10.1016/j.compag.2026.112210
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

Toward intelligent pig farming: Advancing health and welfare monitoring through computer vision–based behavioral analysis

Ahsan Mehtab, Hong-Seok Mun, Jin-Gu Kang, Eddiemar B. Lagua et al.
Computers and Electronics in Agriculture
Animal Behavior and Welfare Studies
article

Toward intelligent pig farming: Advancing health and welfare monitoring through computer vision–based behavioral analysis

Ahsan Mehtab, Hong-Seok Mun, Jin-Gu Kang, Eddiemar B. Lagua, Md Sharifuzzaman, Md Kamrul Hasan, Hae-Rang Park, Chul-Ju Yang, Young-Hwa Kim
article en

Abstract

Modern pig production is increasingly moving toward smart and intelligent farming systems, integrating advanced technologies such as artificial intelligence for precision management. Camera-based computer vision has emerged as a promising non-contact sensing tool for monitoring pig health and welfare through behavioral analysis, given the strong association between behavioral patterns and physiological status. Following a PRISMA-based search, 45 studies were included for critical synthesis on computer vision-based behavioral analysis in pigs, with emphasis on detectable behavioral indicators, imaging configurations, model architectures, post-processing strategies, and deployment constraints. Findings show that posture and nutritive behaviors are the most mature targets for monitoring because they are visually distinctive, biologically informative, and compatible with lightweight object-detection pipelines. In contrast, aggression, biting, enrichment interaction, suckling, and individual activity metrics require stronger temporal modeling, segmentation, or multi-object tracking, which increases annotation burden, computational cost, and susceptibility to occlusion and identity errors. Recent pig-specific modifications to YOLO, transformer-inspired, segmentation, and tracking models have improved performance through attention mechanisms, multi-scale feature fusion, occlusion-aware regression, lightweight convolution, and detector-tracker coupling. However, high reported accuracies often reflect controlled datasets rather than commercial robustness. Critical barriers include limited multi-farm validation, inconsistent annotation and post-processing rules, insufficient anomaly-detection thresholds, weak long-term identity preservation, and hardware constraints for edge deployment. Future efforts should prioritize developing standardized benchmarks, biologically grounded behavioral metrics, explainable and domain-adaptive artificial intelligence, and edge-ready architectures that convert model outputs into interpretable management alerts. This review provides a deployment-oriented framework for advancing computer vision from experimental behavior recognition toward scalable behavioral monitoring and intelligent decision support in pig production systems.

Computers and Electronics in AgricultureVol. 254
Chonnam National University (KR), Gopalganj Science and Technology University (BD), Sylhet Agricultural University (BD), Sunchon National University (KR)
Zero hunger
Openalex Percentile: Top 8%
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.