Prediction of Sow Farrowing Onset Time Using Activity Time Series Extracted by Optical Flow Estimation

Sow farrowing is a critical stage in pig farming, and predicting its onset can improve sow health and piglet survival. This study proposes a method based on optical flow estimation and time-series forecasting to predict sow farrowing onset. The RAFT optical flow algorithm is applied to visible-light videos of sows in late pregnancy to extract activity levels and generate time-series data. The reliability of the activity extraction algorithm is validated through correlation and trend analysis, showing strong inter-sow correlations with an average Pearson coefficient of 0.819. An in-depth analysis of sow_16 reveals a significant increase in activity 24 h before farrowing. Using these data, the CLA-PTNet model, incorporating CNN, LSTM, and attention mechanisms, is developed for continuous farrowing onset prediction. Experimental results demonstrate high predictive accuracy, with average MAE, RMSE, and R<sup>2</sup> values of 5.42 min, 5.97 min, and 0.99, respectively, across four test sows. The method effectively captures activity pattern changes before farrowing, enabling precise predictions. This study offers an innovative, non-invasive solution for predicting sow farrowing onset, with significant application potential in farming practices.

Authors

Institutions

Publication Details

Journal
Animals
Published
2025-03-30
DOI
https://doi.org/10.3390/ani15070998
Citations
2
Primary Topic
Animal Behavior and Welfare Studies
Type
article
Field-Weighted Citation Impact
4.71

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Prediction of Sow Farrowing Onset Time Using Activity Time Series Extracted by Optical Flow Estimation

Junbin Liu, Kejian Liu, Yigui Huang, Deqin Xiao et al.
2 citations
Animals
Animal Behavior and Welfare Studies
4.71
article

Prediction of Sow Farrowing Onset Time Using Activity Time Series Extracted by Optical Flow Estimation

Junbin Liu, Kejian Liu, Yigui Huang, Deqin Xiao, Zujie Tan
article en
2 citations

Abstract

Sow farrowing is a critical stage in pig farming, and predicting its onset can improve sow health and piglet survival. This study proposes a method based on optical flow estimation and time-series forecasting to predict sow farrowing onset. The RAFT optical flow algorithm is applied to visible-light videos of sows in late pregnancy to extract activity levels and generate time-series data. The reliability of the activity extraction algorithm is validated through correlation and trend analysis, showing strong inter-sow correlations with an average Pearson coefficient of 0.819. An in-depth analysis of sow_16 reveals a significant increase in activity 24 h before farrowing. Using these data, the CLA-PTNet model, incorporating CNN, LSTM, and attention mechanisms, is developed for continuous farrowing onset prediction. Experimental results demonstrate high predictive accuracy, with average MAE, RMSE, and R<sup>2</sup> values of 5.42 min, 5.97 min, and 0.99, respectively, across four test sows. The method effectively captures activity pattern changes before farrowing, enabling precise predictions. This study offers an innovative, non-invasive solution for predicting sow farrowing onset, with significant application potential in farming practices.

AnimalsVol. 15(7)
South China Agricultural University (CN)
National Key Research and Development Program of China
Zero hunger
Openalex Percentile: Top 7%
Animal Behavior and Welfare Studies
4.71
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.

Prediction of Sow Farrowing Onset Time Using Activity Time Series Extracted by Optical Flow Estimation — Junbin Liu, Kejian Liu, et al. · Animals (2025) | TGRS Research Map | TGRS