Lameness in pigs presents significant challenges to animal welfare and livestock productivity, necessitating precise detection of both lameness severity and the affected limb. Conventional single-view 2D methods are often constrained by occlusions and variability in viewing angles within dynamic farm environments. Although 3D camera-based approaches provide higher accuracy, their high costs and inability to support long-term monitoring limit their practicality. To address these challenges, this study employs multi-view 3D pose estimation to reconstruct 3D skeletal of pigs from multi-view 2D video, which effectively mitigates issues related to occlusion and viewpoint dependency. Building on this, a novel multi-task classification framework, PoseGait-MT, is proposed to simultaneously detect lameness severity and identify affected limbs. The framework extracts 3D gait spatiotemporal features, including spatial tracking distance (sTRK), head bobbing amplitude (HBA), and joint flexion angles (JFA). These features are integrated into a unified low-dimensional feature map that incorporates both 3D global and relative motion trajectories. To enhance the extraction of low-frequency features and suppress high-frequency noise, wavelet convolution (WTConv) is incorporated. Experimental results demonstrated that PoseGait-MT achieved an average accuracy of 94.7 % for lameness severity classification and 95.7 % for affected limb identification with a 5-fold cross-validation, confirming its effectiveness. Additionally, on an independent test set collected from a separate pen, the model achieved 89 % and 91.4 % accuracy for the respective tasks, highlighting its robustness in real-world conditions. The proposed approach provides a practical and efficient solution for automated lameness detection in livestock farming.
扫码关注我们
求助内容:
应助结果提醒方式:
