Rice Grain Detection Based on YOLO v7 Fusing of GhostNetV2

被引:0
|
作者
Liu Q. [1 ,2 ]
Yang X. [2 ]
Jie H. [2 ]
Sun S. [2 ]
Liang Z. [3 ]
机构
[1] College of Automation, Jiang.su University of Science and Technology, Zhenjiang
[2] College of Electronics and Information Engineering, Suzhou University of Science and Technology, Suzhou
[3] Key Laboratory of Intelligent Agricultural Machinery Equipment, Ministry of Agriculture and Rural Affairs, Jiangsu University, Zhenjiang
来源
Nongye Jixie Xuebao/Transactions of the Chinese Society for Agricultural Machinery | 2023年 / 54卷 / 12期
关键词
attention module; lightweight network; rice grain detection; YOLO v7;
D O I
10.6041/j.issn.1000-1298.2023.12.024
中图分类号
学科分类号
摘要
Rice grain detection plays an important role in grain storage, directly affecting the price of grain sales. In response to the problems of difficult recognition, large network model parameters, slow detection speed, and high cost of general machine vision detection algorithms in dense scenes with small rice grain targets, a rice grain detection algorithm was proposed based on YOLO v7 optimization. Firstly, some efficient layer aggregation network (ELAN) modules were replaced with lightweight network module GhostNetV2 and added them to the backbone and neck network sections, achieving precise simplification of network parameters while reducing feature redundancy in channels. Secondly, the attention module (ACmix) that combined convolution and self attention was added to the MP module, balancing global and local feature information and fully paying attention to the details of feature mapping. Finally, wise intersection over union (WIoU) was used as the loss function to reduce penalty term interference such as distance and aspect ratio. The design of monotonic focusing mechanism improved the positioning performance of the model. The improved model detection level was verified on the rice grain image dataset, and the experimental results showed that the improved YOLO v7 model was high, mAP@ 0. 5 was up to 96. 55%, mAP@ 0. 5;0. 95 reached 70. 10%, and the training model parameters were also decreased. In practical scenarios, the effect of rice impurity detection with a dark black background was better than other models, meeting the real-time detection requirements of rice grains. This algorithm can be considered for application in automated grain detection systems. © 2023 Chinese Society of Agricultural Machinery. All rights reserved.
引用
收藏
页码:253 / 260
页数:7
相关论文
共 19 条
  • [1] XUE Jinlin, LI Yuqing, CAO Zijian, Obstacle detection technology in fuzzy farmland images based on deep learning [J], Transactions of the Chinese Society for Agricultural Machinery, 53, 3, pp. 234-242, (2022)
  • [2] MA Degui, SHAO Lushou, GE Jing, Et al., Image detection of rice blast and rice sheath blight disease severity [J], Chinese Journal of Agriculture, 24, 9, pp. 485-489, (2008)
  • [3] TAHIR W, HUSSIN N, HTIKE Z Z, Et al., Rice grading using image processing, ARPN Journal of Engineering and Applied Sciences, 10, 21, pp. 10131-10137, (2015)
  • [4] YAO Qing, GU Jiale, LU Jun, Et al., Automatic detection model for damage of rice canopy pests improved by RetinaNet, Transactions of the CSAE, 36, 15, pp. 182-188, (2020)
  • [5] OLSEN A, KONOVALOV D A, PHILIPPA B, Et al., DeepWeeds: a multiclass weed species image dataset for deep learning [J], Scientific Reports, 9, (2019)
  • [6] CHEN Jin, HAN Mengna, LIAN Yi, Et al., Image segmentation of mixed rice grains based on U Net model, Transactions of the CSAE, 36, 10, pp. 174-180, (2020)
  • [7] YANG Duanli, WANG Yongsheng, CHEN Hui, Et al., An improved YOLO v6 tiny based method for identifying abnormal feather pecking phenomena and individual classification in laying hens [J], Transactions of the Chinese Society for Agricultural Machinery, 54, 5, pp. 268-277, (2023)
  • [8] FU You, ZUO Xun, YANG Fan, Et al., Design of pedestrian detection based on deep learning convolutional neural network model[J], Information Technology, 2021, 5, pp. 34-38
  • [9] ZHANG Taoyuan, XIE Xinlin, XIE Gang, Et al., A real-time defect detection algorithm for strip steel based on Transformer fusion[J], Computer Engineering and Applications, 59, 16, pp. 232-239, (2023)
  • [10] WANG Yinyu, MENG Fanyun, WANG Jinhe, Et al., Improved ASPP and multi-level feature semantic fusion segmentation method[J], Computer Engineering and Applications, 59, 13, pp. 220-228, (2023)