Abstract
The 'head back' posture is a pronounced and significant behavioral trait during bovine parturition, commonly interpreted as a natural response to the pain associated with parturition. Leveraging computer vision technology for real-time monitoring of parturition behaviors can provide timely assistance during calving and enhance animal welfare. This study initially evaluated the head back posture in cows of different types, finding that primiparous cows and those delivering calves weighing over 43 kg exhibited prolonged durations of both labor and head back posture. A model was developed using the YOLOv8 algorithm with 25,617 images to recognize and classify changes in head posture during parturition, including positions like lying with or without head back. The model demonstrated robust predictive performance with a precision (P) of 69.76%, recall (R) of 75.35%, average precision (AP) of 70.12%, and F(1) score of 0.71. Furthermore, the model's capability to recognize postures from different camera angles and under varying environmental conditions was assessed. Notably, images captured from an abdominal angle achieved AP exceeding 90%, with consistent stability under varying lighting conditions, including sunny and overcast weather, during both daytime and nighttime. Behavioral analysis showed that the parturition duration and total duration of head back posture in primiparous cows were significantly higher than those in multiparous cows (p < 0.05), and the changing trends of motor performance between primiparous and multiparous cows were consistent across different parturition stages. Additionally, the correlation between calf birth weight and maternal behavior was stronger in primiparous cows than in multiparous cows, further indicating obvious differences in physiological and behavioral responses of cows during primiparous and multiparous parturition. This study underscores the potential of computer vision applications in enhancing real-time intervention and promoting welfare during bovine parturition.