期刊文献+

基于改进YOLOv7算法的牛只行为识别

Cattle behavior recognition based on improved YOLOv7 algorithm
下载PDF
导出
摘要 提出一种基于YOLOv7算法的改进模型。首先,在Head部分融入自注意力机制,加入CA、SimAM、CBAM三种注意力模块改进网络结构,自适应地选择输入特征,提高模型对牛只行为的检测精准率以及在复杂背景下的表现能力;其次,考虑到牛只在日常行为采集过程中与设备距离远近的不同,引入超参Focal EIOU损失函数,平衡高质量样本与低质量样本对Loss的贡献,提升多分类任务下样本的识别率。经过实验分析,改进后的模型样本检测平均准确率达到95.2%,与改进前相比提高5.4个百分点,单张图片检测平均用时0.0106 s,与SSD、Faster RCNN等其他模型相比,改进后的YOLOv7模型检测准确率与检测速度均大幅提升。 An improved model based on YOLOv7 algorithm is proposed.Firstly,a self-attention mechanism is incorporated into the Head part,and three attention modules,CA,SimAM and CBAM,are added to improve the network structure,adaptively selecting the input features to improve the model's detection accuracy rate of each behavior of the cattle as well as its performance ability in complex backgrounds;secondly,taking into account the differences in the distances between the cattle and the equipment during the daily behavior collection process,the hyper-parameter Focal EIOU loss function is introduced to balance the contribution of high-quality samples and low-quality samples to the Loss,and to improve the recognition rate of samples under the multi-classification task.After experimental analysis,the average accuracy of sample detection of the improved model reaches 95.2%,which is improved by 5.4 percentage points compared with the pre-improvement period,and the average time for single image detection is 0.0106 s.Compared with other models such as SSD and Faster RCNN,the detection accuracy and detection speed of the improved YOLOv7 model are both greatly improved.
作者 邰志艳 冯子懿 侯婷悦 刘铭 TAI Zhiyan;FENG Ziyi;HOU Tingyue;LIU Ming(School of Mathematics&Statistics,Changchun University of Technology,Changchun 130012,China)
出处 《长春工业大学学报》 CAS 2024年第1期24-31,共8页 Journal of Changchun University of Technology
基金 国家自然科学基金资助项目(61503150) 吉林省发改委基本建设资金项目(2022C043-2)。
关键词 牛只行为 目标检测 YOLOv7 注意力机制 损失函数 cattle behavior target detection YOLOv7 attention mechanism loss function
  • 相关文献

参考文献13

二级参考文献187

  • 1田富洋,王冉冉,刘莫尘,王震,李法德,王中华.基于神经网络的奶牛发情行为辨识与预测研究[J].农业机械学报,2013,44(S1):277-281. 被引量:34
  • 2张海亮,何东健.肉牛体形参数计算机视觉检测[J].农业机械学报,2006,37(2):164-167. 被引量:5
  • 3MAZRIER H, TAL S,AIZINBUD E,et al. A field investigation of the use of the pedometer for the early detection of lameness incattle[ J]. The Canadian Veterinary Journal, 2006,47(9) : 883.
  • 4CHAPINAL N,PASSILLE AMD, PASTELL M, et al. Measurement of acceleration while walking as an automated method for gaitassessment in dairy cattlef J]. Journal of Dairy Science, 2011 , 94(6) : 2895 -2901.
  • 5MUNKSGAARD L, VAN REENEN C G, BOYCE R. Automatic monitoring of lying, standing and walking behavior in dairy cattle\_C~\ //ADSA/ASAS 2006 Annual Meeting, 2006.
  • 6THORUP V M , MUNKSGAARD L, ROBERT P E, et al. Lameness detection via leg-mounted accelerometers on dairy cows on fourcommercial farms [J]. Animal, 2015 , 9( 10) ; 1704 - 1712.
  • 7YUNTA C, GUASCH I,BACH A. Short communication : Lying behavior of lactating dairy cows is influenced by lamenessespecially around feeding time[ J]. Journal of Dairy Science, 2012 , 95(11) : 6546 - 6549.
  • 8RAJKONDAWAR P G, LEFCOURT A M,NEERCHAL N K, et al. The development of an objective lameness scoring system fordairy herds : pilot study [ J]. Transactions of the ASABE , 2002 , 45(4) : 1123 - 1125.
  • 9RAJKONDAWAR P G, LIU M , DYER R M , et al. Comparison of models to identify lame cows based on gait and lesion scores,and limb movement variables[ J]. Journal of Dairy Science,2006 , 89( 11 ) : 4267 ~ 4275.
  • 10PASTELL M E,KUJALA M. A probabilistic neural network model for lameness detection[ J]. Journal of Dairy Science, 2007,90(5) : 2283 -2292.

共引文献313

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部