中国畜牧兽医 ›› 2025, Vol. 52 ›› Issue (8): 3753-3766.doi: 10.16431/j.cnki.1671-7236.2025.08.024

• 遗传繁育 • 上一篇    

母羊舔羔与新生羔羊站立姿态的识别及关联分析

王国山1,2, 宋懿峰1,2, 安晓萍1,2, 王园1,2, 刘娜1,2, 王文文1,2, 齐景伟1,2   

  1. 1. 内蒙古农业大学动物科学学院, 呼和浩特 010018;
    2. 内蒙古自治区草食家畜饲料技术研究中心, 国家乳业技术创新中心奶牛繁育与养殖技术研究中心, 智慧畜牧自治区高等学校重点实验室, 内蒙古自治区高校智慧畜牧集成攻关大平台, 呼和浩特 010018
  • 收稿日期:2024-10-16 发布日期:2025-08-02
  • 通讯作者: 齐景伟 E-mail:qijingwei@imau.edu.cn
  • 作者简介:王国山,E-mail:895938593@emails.imau.edu.cn。
  • 基金资助:
    内蒙古自治区科技重大专项(2021ZD0023-3);内蒙古自治区教育厅一流学科科研专项项目(YLXKZX-NND-007)

Identification and Correlation Analysis of Ewe Licking and Standing Posture in Newborn Lambs

WANG Guoshan1,2, SONG Yifeng1,2, AN Xiaoping1,2, WANG Yuan1,2, LIU Na1,2, WANG Wenwen1,2, QI Jingwei1,2   

  1. 1. College of Animal Science, Inner Mongolia Agricultural University, Hohhot 010018, China;
    2. Inner Mongolia Herbivorous Livestock Feed Engineering Technology Research Center, National Center of Technology Innovation for Dairy-Breeding and Production Research Center, Key Laboratory of Smart Animal Husbandry at Universities of Inner Mongolia Autonomous Region, Integrated Research Platform of Smart Animal Husbandry at Universities of Inner Mongolia Autonomous Region, Hohhot 010018, China
  • Received:2024-10-16 Published:2025-08-02

摘要: 【目的】 试验旨在研究母羊舔羔和羔羊站立姿态智能检测、羔羊站立过程特征以及舔羔对羔羊站立的影响。【方法】 收集30只母羊舔羔和羔羊站立过程视频,进行YOLOv5s模型训练。选取20只经产单胎萨能奶山羊及其子代新生羔羊,其中舔羔时长不足120 s的为对照组(Con组),舔羔时间在120 s以上的为舔羔组(Lick组),每组10只。基于训练好的YOLOv5s算法对母羊舔羔和羔羊站立姿态进行识别,依靠Farneback光流算法分析羔羊站立过程特征,结合两种算法提取的连续帧之间母羊舔羔和羔羊站立的时间和频次,采用Pearson进行相关性分析,采用单因素方差分析探究舔羔对羔羊站立的影响。【结果】 ①YOLOv5s算法对舔羔姿态识别的平均精度为97.90%,羔羊躺卧姿态识别的平均精度为90.70%,羔羊尝试站立姿态识别的平均精度为82.60%,羔羊站立姿态识别的平均精度为86.30%。②通过Farneback 光流算法分析羔羊站立过程特征,能有效展示羔羊从躺卧到站立过程中的运动轨迹和方向变化。③舔羔时间最长为1 462.00 s,最短为0 s,平均值为410.10 s;羔羊初次尝试站立时间在284.00~1 195.00 s之间,平均值为529.25 s;初次成功站立时间为695.00~2 921.00 s,平均值为1 464.35 s;尝试站立时间为323.00~1 785.00 s,平均值为930.10 s;羔羊尝试站立频次最小11.00次,最大46.00次,平均值23.60次。④Con组羔羊尝试站立次数明显高于Lick组,Con组和Lick组羔羊每次尝试站立持续时间随着尝试次数的增加呈现增加趋势。⑤舔羔总时长与羔羊尝试站立时长、羔羊初次成功站立时长、羔羊尝试站立频次呈显著负相关(P<0.05)。⑥Lick组羔羊出生后至初次尝试站立时间与Con组羔羊无明显差异(P>0.05);Lick组羔羊尝试站立时间显著短于Con组羔羊(P<0.05);Lick组羔羊初次成功站立的时间显著短于Con组羔羊(P<0.05);Lick组羔羊尝试站立次数显著少于Con组羔羊(P<0.05)。【结论】 YOLOv5s模型能够准确识别母羊舔羔和羔羊站立姿态,Farneback光流算法可以很好地分析羔羊站立过程特征,而母羊舔羔时间越长可以促使羔羊具有较高的活力,使羔羊尽快成功完成站立。

关键词: YOLOv5s模型; Farneback光流算法; 母羊舔羔; 羔羊站立

Abstract: 【Objective】 The intelligent detection of ewes licking lambs and the standing postures of lambs,the characteristics of the lamb standing process as well as the influence of ewes licking lambs on the standing of lambs were intended to be studied in this experiment. 【Method】 Videos of the licking behavior of 30 ewes and the standing process of lambs were collected to train the YOLOv5s model.20 multiparous single-fetus Saanen dairy goats and their newborn lambs were selected.Those with the licking time of ewes less than 120 s were divided into control group (Con group),and those with the licking time of ewes more than 120 s were divided into licking group (Lick group),with 10 in each group.The licking behavior of ewes and the standing postures of lambs were recognized based on the trained YOLOv5s algorithm.The characteristics of the standing process of lambs were analyzed by relying on the Farneback optical flow algorithm.The time and frequency of the ewes’ licking behavior and the lambs’ standing between consecutive frames were extracted by combining the two algorithms.Pearson correlation analysis was adopted,and One-Way ANOVA was used to explore the effect of lamb licking on lamb standing. 【Result】 ①The average precision of the YOLOv5s algorithm for identifying the licking posture was 97.90%.The average precision for identifying the lying posture of lambs was 90.70%.The average precision for identifying the posture of lambs attempting to stand was 82.60%.And the average precision for identifying the standing posture of lambs was 86.30%.②Through the analysis of the characteristics of the lamb standing process by the Farneback optical flow algorithm,the motion trajectory and direction changes of lambs during the process from lying down to standing could be effectively demonstrated.③The longest licking time was 1 462.00 s,the shortest was 0 s,with an average of 410.10 s.The time when lambs first attempted to stand ranged from 284.00 to 1 195.00 s,with an average of 529.25 s.The time when lambs first successfully stood ranged from 695.00 to 2 921.00 s,with an average of 1 464.35 s.The time for attempting to stand ranged from 323.00 to 1 785.00 s,with an average of 930.10 s.The minimum number of times that lambs attempted to stand was 11.00,the maximum was 46.00,with an average of 23.60 times.④The number of attempts of lambs in Con group to stand was significantly higher than that of lambs in Lick group.The duration of each attempt to stand by lambs in both Con and the Lick groups showed an increasing tendency as the number of attempts increased.⑤The total duration of ewes licking lambs was significantly negatively correlated with the duration of lambs’ attempts to stand,the duration of lambs’ first successful standing and the frequency of lambs’ attempts to stand (P<0.05).⑥There was no significant difference in the time from birth to the first attempt to stand between lambs in Lick group and those in Con group (P>0.05).The time for lambs in Lick group to attempt to stand was significantly shorter than that of lambs in Con group (P<0.05).The time for lambs in Lick group to first successfully stand was significantly shorter than that of lambs in Con group (P<0.05).The number of attempts of lambs in Lick group to stand was significantly less than that of lambs in Con group (P<0.05). 【Conclusion】 The YOLOv5s model could accurately identify the postures of ewes licking lambs and the standing postures of lambs,and the Farneback optical flow algorithm could well analyze the characteristics of the lamb standing process.Moreover,the longer the licking time of ewes was,the higher the vitality of lambs would be,which could help lambs successfully stand up as soon as possible.

Key words: YOLOv5s model; Farneback optical flow algorithm; ewe licking; lamb standing

中图分类号: