EAAI Journal 2026 Journal Article
An intelligent vision-based method for real-time pig disease identification through postural feature analysis
- Zhe Yin
- Yue Cao
- Hong Feng
- Qiqi Guo
- Xuan Wang
- Zhenyu Liu
The health of pig populations is critical to production efficiency and economic viability. By integrating postural characteristics indicative of disease, a model capable of accommodating complex postural variations can facilitate non-contact, low-cost, real-time disease monitoring in pigs. Building on the baseline You Only Look Once Version 10 (YOLOv10) deep learning model, this study proposes an improved model with three core innovations: a lightweight backbone network, spatial and channel reconstruction convolution, and large-scale keypoint attention. The lightweight backbone enhances feature extraction for subtle postural cues, the attention mechanism strengthens focus on key disease postures, and the optimised feature fusion structure improves feature representation and robustness to complex posture variations. Compared with the baseline model, the proposed method demonstrates significantly improved performance. It achieves a mean average precision of 97. 66 per cent, corresponding to a 3. 9 percentage point increase over the baseline. In particular, the detection precision for African swine fever improves from 94. 7 per cent to 98. 9 per cent, while the harmonic mean score reaches 91. 98 per cent, reflecting a 3. 72 percentage point improvement. Despite these notable gains in accuracy, the proposed method reduces the parameter count by 1. 80 million and the computational complexity by 1. 5 giga floating-point operations, maintaining high computational efficiency without sacrificing detection performance. The results demonstrate the potential practicality of the proposed method for real-time pig disease detection and provide a reliable technical basis for future deployment in intelligent livestock farming systems.