Rapid Detection and Counting of Wheat Ears in the Field Using YOLOv4 with Attention Module

被引:90
|
作者
Yang, Baohua [1 ,2 ]
Gao, Zhiwei [1 ]
Gao, Yuan [1 ]
Zhu, Yue [1 ]
机构
[1] Anhui Agr Univ, Sch Informat & Comp, Hefei 230036, Peoples R China
[2] Anhui Agr Univ, Smart Agr Res Inst, Hefei 230036, Peoples R China
来源
AGRONOMY-BASEL | 2021年 / 11卷 / 06期
关键词
wheat ear; attention; you only look once (YOLO); detection and counting; SPIKES;
D O I
10.3390/agronomy11061202
中图分类号
S3 [农学(农艺学)];
学科分类号
0901 ;
摘要
The detection and counting of wheat ears are very important for crop field management, yield estimation, and phenotypic analysis. Previous studies have shown that most methods for detecting wheat ears were based on shallow features such as color and texture extracted by machine learning methods, which have obtained good results. However, due to the lack of robustness of these features, it was difficult for the above-mentioned methods to meet the detection and counting of wheat ears in natural scenes. Other studies have shown that convolutional neural network (CNN) methods could be used to achieve wheat ear detection and counting. However, the adhesion and occlusion of wheat ears limit the accuracy of detection. Therefore, to improve the accuracy of wheat ear detection and counting in the field, an improved YOLOv4 (you only look once v4) with CBAM (convolutional block attention module) including spatial and channel attention model was proposed that could enhance the feature extraction capabilities of the network by adding receptive field modules. In addition, to improve the generalization ability of the model, not only local wheat data (WD), but also two public data sets (WEDD and GWHDD) were used to construct the training set, the validation set, and the test set. The results showed that the model could effectively overcome the noise in the field environment and realize accurate detection and counting of wheat ears with different density distributions. The average accuracy of wheat ear detection was 94%, 96.04%, and 93.11%. Moreover, the wheat ears were counted on 60 wheat images. The results showed that R-2 = 0.8968 for WD, 0.955 for WEDD, and 0.9884 for GWHDD. In short, the CBAM-YOLOv4 model could meet the actual requirements of wheat ear detection and counting, which provided technical support for other high-throughput parameters of the extraction of crops.
引用
收藏
页数:17
相关论文
共 50 条
  • [21] A lightweight network for improving wheat ears detection and counting based on YOLOv5s
    Shen, Xiaojun
    Zhang, Chu
    Liu, Kai
    Mao, Wenjie
    Zhou, Cheng
    Yao, Lili
    FRONTIERS IN PLANT SCIENCE, 2023, 14
  • [22] CALYOLOv4: lightweight YOLOv4 target detection based on coordinated attention
    Wang, Huilin
    Qian, Huaming
    Feng, Shuai
    Yan, Shuya
    JOURNAL OF SUPERCOMPUTING, 2023, 79 (16): : 18947 - 18969
  • [23] CALYOLOv4: lightweight YOLOv4 target detection based on coordinated attention
    Huilin Wang
    Huaming Qian
    Shuai Feng
    Shuya Yan
    The Journal of Supercomputing, 2023, 79 : 18947 - 18969
  • [24] An object detection network based on YOLOv4 and improved spatial attention mechanism
    Chen, Zhixiong
    Tian, Shengwei
    Yu, Long
    Zhang, Liqiang
    Zhang, Xinyu
    Journal of Intelligent and Fuzzy Systems, 2022, 42 (03): : 2359 - 2368
  • [25] Automatic shrimp counting method using local images and lightweight YOLOv4
    Zhang, Lu
    Zhou, Xinhui
    Li, Beibei
    Zhang, Hongxu
    Duan, Qingling
    BIOSYSTEMS ENGINEERING, 2022, 220 : 39 - 54
  • [26] Goral Detection System using YOLOv4 Object Detection Algorithm
    Lee H.-S.
    Oh Y.-J.
    Park Y.-C.
    Lim S.J.
    Cho H.-C.
    Transactions of the Korean Institute of Electrical Engineers, 2022, 71 (09): : 1308 - 1314
  • [27] An improved attention mechanism based YOLOv4 structure for lung nodule detection
    Wu, Danhui
    Lu, Tong
    Li, Xia
    2022 IEEE INTL CONF ON DEPENDABLE, AUTONOMIC AND SECURE COMPUTING, INTL CONF ON PERVASIVE INTELLIGENCE AND COMPUTING, INTL CONF ON CLOUD AND BIG DATA COMPUTING, INTL CONF ON CYBER SCIENCE AND TECHNOLOGY CONGRESS (DASC/PICOM/CBDCOM/CYBERSCITECH), 2022, : 531 - 536
  • [28] An object detection network based on YOLOv4 and improved spatial attention mechanism
    Chen, Zhixiong
    Tian, Shengwei
    Yu, Long
    Zhang, Liqiang
    Zhang, Xinyu
    JOURNAL OF INTELLIGENT & FUZZY SYSTEMS, 2022, 42 (03) : 2359 - 2368
  • [29] Improved YOLOv4 Based on Attention Mechanism for Ship Detection in SAR Images
    Gao, Yunlong
    Wu, Zhiyong
    Ren, Ming
    Wu, Chuan
    IEEE ACCESS, 2022, 10 : 23785 - 23797
  • [30] Automatic shrimp counting method using local images and lightweight YOLOv4
    Zhang, Lu
    Zhou, Xinhui
    Li, Beibei
    Zhang, Hongxu
    Duan, Qingling
    Biosystems Engineering, 2022, 220 : 39 - 54