基于YOLO v5-OBB与CT的浸种玉米胚乳裂纹检测
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

基金项目:

国家重点研发计划项目(2019YFD1002401)


Endosperm Crack Detection Method for Seed Dipping Maize Based on YOLO v5-OBB and CT Technology
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    浸种是玉米生产中重要的播前增种技术,对浸种过程中裂纹的高效检测是分析玉米胚乳裂纹变化规律的基础,是优良品种性状选育的关键之一,尚存在内部胚乳裂纹不可见、自动化检测程度不高等困难。基于CT扫描技术,在YOLO v5n检测网络的基础上,设计了YOLO v5-OBB旋转目标检测网络,其中OBB为有向目标边框,该网络使用旋转矩形框代替普通矩形框,并在Backbone部分加入位置注意力模块(CA),同时采用倾斜非极大值抑制算法(Skew-NMS)进行非极大值抑制得到最终预测框,以此实现长宽比大、方向不一的玉米胚乳裂纹检测。经过300次迭代训练,模型在测试集上的精确率P为94.2%,召回率R为81.7%,平均精度(AP)为88.2%,模型内存占用量为4.21MB,单幅图像平均检测时间为0.01s,与SASM、S2A-Net和ReDet旋转目标检测网络相比,AP分别提高15.0、16.9、7.0个百分点,单幅图像平均检测时间分别减少0.19、0.22、0.46s,同时YOLO v5-OBB模型内存占用量分别为SASM、S2A-Net和ReDet模型的1.50%、1.43%和1.73%,与采用水平矩形框标注的YOLO v5网络相比,AP提高0.6个百分点,模型大小减小0.19MB,单幅图像平均检测时间不变,两者均为0.01s。将YOLO v5-OBB网络获取裂纹目标框坐标信息后得到的裂纹长度与在DragonflyEZ软件中得到的裂纹真实长度相比,两者绝对误差为0.04mm,相对误差为0.93%。对不同CT灰度分布情况下玉米胚乳裂纹检测结果表明,该模型对较小灰度、较大灰度、混合灰度3种玉米胚乳裂纹图像的P分别为100%、100%、93.3%,R分别为100%、82.4%和79.8%,AP分别为99.5%、91.2%和86.8%。结果表明,所设计模型能有效实现玉米胚乳裂纹的检测,同时模型鲁棒性高,内存占用量小,可为玉米浸种过程胚乳裂纹的自动监测提供借鉴。

    Abstract:

    Seed immersion is an important pre-sowing seed enhancement technology in maize production, and efficient detection of cracks during seed immersion is the basis for analyzing the change pattern of endosperm cracks during seed immersion, which is one of the keys to the selection and breeding of good varieties of traits, and there are still difficulties such as internal endosperm cracks are not visible and the degree of automation is not high. Based on CT scanning technology, a rotating target detection network named YOLO v5-OBB was designed based on YOLO v5n detection network, where OBB used rotating rectangular box instead of normal rectangular box and added CA model in the Backbone part. The network used a rotating rectangular box instead of a normal rectangular box, and added CA model in the Backbone part, and also used Skew-NMS for non-maximal suppression to obtain the final prediction box, so as to achieve the detection of corn endosperm cracks with relatively large length and width and different directions. After 300 iterations of training, the model had a precision of 94.2%, a recall of 81.7%, and an average precision of 88.2% on the test set, with model size of 4.21MB and average detection time of 0.01s for a single image, which improved the AP value by 15.0, 16.9, and 7.0 percentage points compared with the SASM, S2A-Net, and ReDet models, respectively, and the average detection time of single image was reduced by 0.19s, 0.22s, and 0.46s, respectively, while the YOLO v5-OBB model size was 1.50%, 1.43%, and 1.73% of the SASM, S2A-Net, and ReDet models, respectively, with an increase in AP value of 0.6 percentage points, a decrease in model size of 0.19MB and an unchanged average detection time of 0.01s for a single image compared with that of the YOLO v5 network with horizontal rectangular box labeling. Comparing the crack length information obtained from the YOLO v5-OBB network after obtaining the crack target frame coordinate information with the real length of the crack obtained in DragonflyEZ software, the absolute error of both was 0.04mm and the relative error was 0.93%. The results on the detection of corn endosperm cracks with different CT gray value distributions showed that the model had P values of 100%, 100%, and 93.3%, R values of 100%, 82.4%, and 79.8%, and AP values of 99.5%, 91.2%, and 86.8% for the three types of corn endosperm crack images with smaller gray values, larger gray values, and mixed gray values, respectively. The results showed that the designed model can effectively achieve the detection of corn endosperm cracks, and at the same time, the model was highly robust and took up little storage, which can provide necessary technical support for the automatic monitoring of corn endosperm cracks during seed dipping.

    参考文献
    相似文献
    引证文献
引用本文

宋怀波,焦义涛,华志新,李嵘,许兴时.基于YOLO v5-OBB与CT的浸种玉米胚乳裂纹检测[J].农业机械学报,2023,54(3):394-401,439. SONG Huaibo, JIAO Yitao, HUA Zhixin, LI Rong, XU Xingshi. Endosperm Crack Detection Method for Seed Dipping Maize Based on YOLO v5-OBB and CT Technology[J]. Transactions of the Chinese Society for Agricultural Machinery,2023,54(3):394-401,439.

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2022-06-18
  • 最后修改日期:
  • 录用日期:
  • 在线发布日期: 2023-03-10
  • 出版日期: