期刊文献+

基于坐标注意力机制和YOLO v5s模型的山羊脸部检测方法 被引量:4

Goat Face Detection Method by Combining Coordinate Attention Mechanism and YOLO v5s Model
下载PDF
导出
摘要 山羊的脸部检测对羊场的智能化管理有着重要的意义。针对实际饲养环境中,羊群存在多角度、分布随机、灵活多变、羊脸检测难度大的问题,以YOLO v5s为基础目标检测网络,提出了一种结合坐标信息的山羊脸部检测模型。首先,通过移动设备获取舍内、舍外、单头以及多头山羊的图像并构建数据集。其次,在YOLO v5s的主干网络融入坐标注意力机制,以充分利用目标的位置信息,提高遮挡区域、小目标、多视角样本的检测精度。试验结果表明,改进YOLO v5s模型的检测精确率为95.6%,召回率为83.0%,mAP0.5为90.2%,帧速率为69 f/s,模型内存占用量为13.2 MB;与YOLO v5s模型相比,检测精度提高1.3个百分点,模型所占内存空间减少1.2 MB;且模型的整体性能远优于Faster R-CNN、YOLO v4、YOLO v5s模型。此外,本文构建了不同光照和相机抖动的数据集,来进一步验证本文方法的可行性。改进后的模型可快速有效地对复杂场景下山羊的脸部进行精准检测及定位,为动物精细化养殖时目标检测识别提供了检测思路和技术支持。 Animal face detection is of great significance to the intelligent management of animal farm.At present,goats have the characteristics of multi angle,random distribution and flexibility in the actual feeding environment,which greatly increases the difficulty of goat face detection.Therefore,a goat face detection model combined with coordinate information was proposed based on YOLO v5s target detection network.Firstly,indoor,outdoor,single and multiple goat images were obtained by using mobile devices to build sample data sets.Secondly,coordinate attention mechanism(CA)was integrated into the backbone network of YOLO v5s to make full use of target position information and improve the target recognition accuracy in the occluded area,small target and multi view sample images.The proposed YOLO v5s-CA based approach achieved a precision of 95.6%,a recall of 83.0%,an mAP0.5 of 90.2%,a frame rate of 69f/s and a model size of 13.2MB.Compared with that of the original YOLO v5s model,the detection precision of YOLO v5s-CA was increased by 1.3 percentage points,and the memory space was reduced by 1.2MB.And the overall performance of the YOLO v5s-CA was better than that of the Faster R-CNN,YOLO v4 and YOLO v5s.Experimental results showed that the proposed YOLO v5s-CA approach can improve the detection precision of occluding and small targets by introducing target coordinate information.In addition,datasets with different lighting and camera shake were simulated and constructed to further verify the feasibility of the proposed method.Overall,the proposed deep learning-based goat face detection approach can quickly and effectively detect and locate goat faces in complex scenes,providing detection ideas and technical support for target detection and recognition in intelligent animal farm.
作者 郭阳阳 洪文浩 丁屹 黄小平 GUO Yangyang;HONG Wenhao;DING Yi;HUANG Xiaoping(School of Internet,Anhui University,Hefei 230039,China;National Engineering Research Center for Agro-Ecological Big Data Analysis and Application,Hefei 230039,China)
出处 《农业机械学报》 EI CAS CSCD 北大核心 2023年第7期313-321,共9页 Transactions of the Chinese Society for Agricultural Machinery
基金 安徽省自然科学基金项目(1908085QF284) 安徽省教育厅自然科学基金项目(KJ2021A0024)。
关键词 羊脸检测 YOLO v5s 坐标注意力机制 精准畜牧 goat face detection YOLO v5s coordinate attention mechanism precision animal farm
  • 相关文献

参考文献6

二级参考文献150

  • 1孙雨坤,王玉洁,霍鹏举,崔梓棋,张永根.奶牛个体识别方法及其应用研究进展[J].中国农业大学学报,2019,24(12):62-70. 被引量:7
  • 2田富洋,王冉冉,刘莫尘,王震,李法德,王中华.基于神经网络的奶牛发情行为辨识与预测研究[J].农业机械学报,2013,44(S1):277-281. 被引量:34
  • 3杨艳,滕光辉,李保明,施正香.基于计算机视觉技术估算种猪体重的应用研究[J].农业工程学报,2006,22(2):127-131. 被引量:42
  • 4张海亮,何东健.肉牛体形参数计算机视觉检测[J].农业机械学报,2006,37(2):164-167. 被引量:5
  • 5杨艳,滕光辉,李保明.利用二维数字图像估算种猪体重[J].中国农业大学学报,2006,11(3):61-64. 被引量:10
  • 6MAZRIER 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.
  • 7CHAPINAL 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.
  • 8MUNKSGAARD 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.
  • 9THORUP 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.
  • 10YUNTA 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.

共引文献193

同被引文献46

引证文献4

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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