English

中国农机化学报

中国农机化学报 ›› 2024, Vol. 45 ›› Issue (7): 188-193.DOI: 10.13733/j.jcam.issn.2095-5553.2024.07.028

• 农业信息化工程 • 上一篇    下一篇

基于改进YOLOv5的田间大豆花朵生长状态检测方法研究

岳耀华1, 2, 3,张伟1, 2, 3,亓立强1, 2, 3   

  1. 1. 黑龙江八一农垦大学工程学院,黑龙江大庆,163319; 2. 黑龙江省保护性耕作工程技术研究中心,
    黑龙江大庆,163319; 3. 农业农村部大豆机械化生产重点实验室,黑龙江大庆,163319
  • 出版日期:2024-07-15 发布日期:2024-06-24
  • 基金资助:
    财政部和农业农村部:国家现代农业产业技术体系(CARS—04—PS30)

Research on the identification method of soybean flower growth status in the field based on improved YOLOv5

Yue Yaohua1, 2, 3, Zhang Wei1, 2, 3, Qi Liqiang1, 2, 3   

  1. 1. College of Engineering, Heilongjiang Bayi Agricultural University, Daqing, 163319, China; 
    2. Heilongjiang Province Conservation Tillage Engineering Technology Research Center, Daqing, 163319, China; 
    3. Key Laboratory of Soybean Mechanized Production, Ministry of Agriculture and Rural Affairs, Daqing, 163319, China
  • Online:2024-07-15 Published:2024-06-24

摘要: 为判断大豆开花时期落花情况,对田间大豆花朵在花蕾、半开、全开、凋落四类生长状态下进行精准检测。基于YOLOv5检测模型,对主干Bottleneck CSP结构进行修改,减少模块数量来保留更多浅层特征,增强特征表达能力,在骨干网络中引入CA注意机制,以获得位置信息,协助模型更加准确地识别,并修改锚箱尺寸提高小目标花蕾精准识别,在自建的田间大豆花朵不同生长状态数据集上进行改进YOLOv5算法对比试验。结果表明:大豆开花时期花朵不同生长状态识别模型准确率达到93.4%,召回率达到91.4%,对比原模型准确率、召回率分别提高0.8%和2.1%。

关键词: 大豆花朵, 生长状态, YOLOv5, 田间复杂环境, 注意力机制, 目标检测

Abstract:  In order to judge the fall of soybean flowers during the flowering period, soybean flowers in the field were accurately detected under four growth states such as flower bud, halfopening, fullopening and withering. Based on the YOLOv5 detection model, the backbone Bottleneck CSP structure was modified, the number of modules was reduced to preserve more shallow features and enhance feature expression ability. CA attention mechanism was introduced into the backbone network to obtain location information and help the model identify more accurately. Moreover, the size of anchor box was modified to improve the accurate identification of small target bud, and the improved YOLOv5 algorithm was compared with the selfbuilt data set of different growth states of soybean flowers in the field. The results showed that the accuracy rate of the model reached 93.4% and the recall rate reached 91.4%, which were increased by 0.8% and 2.1% respectively compared with the original model.

Key words: soybean flowers, growth state, YOLOv5, complex field environment, attention mechanism, object detection

中图分类号: