Study of Pose Estimation Based on Spatio-Temporal Characteristics of Cow Skeleton

The pose of cows reflects their body condition, and the information contained in the skeleton can provide data support for lameness, estrus, milk yield, and contraction behavior detection. This paper presents an algorithm for automatically detecting the condition of cows in a real farm environment b...

Full description

Saved in:
Bibliographic Details
Published inAgriculture (Basel) Vol. 13; no. 8; p. 1535
Main Authors Wei, Yongfeng, Zhang, Hanmeng, Gong, Caili, Wang, Dong, Ye, Ming, Jia, Yupu
Format Journal Article
LanguageEnglish
Published Basel MDPI AG 01.08.2023
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The pose of cows reflects their body condition, and the information contained in the skeleton can provide data support for lameness, estrus, milk yield, and contraction behavior detection. This paper presents an algorithm for automatically detecting the condition of cows in a real farm environment based on skeleton spatio-temporal features. The cow skeleton is obtained by matching Partial Confidence Maps (PCMs) and Partial Affinity Fields (PAFs). The effectiveness of skeleton extraction was validated by testing 780 images for three different poses (standing, walking, and lying). The results indicate that the Average Precision of Keypoints (APK) for the pelvis is highest in the standing and lying poses, achieving 89.52% and 90.13%, respectively. For walking, the highest APK for the legs was 88.52%, while the back APK was the lowest across all poses. To estimate the pose, a Multi-Scale Temporal Convolutional Network (MS-TCN) was constructed, and comparative experiments were conducted to compare different attention mechanisms and activation functions. Among the tested models, the CMS-TCN with Coord Attention and Gaussian Error Linear Unit (GELU) activation functions achieved precision, recall, and F1 scores of 94.71%, 86.99%, and 90.69%, respectively. This method demonstrates a relatively high detection rate, making it a valuable reference for animal pose estimation in precision livestock farming.
ISSN:2077-0472
2077-0472
DOI:10.3390/agriculture13081535