Next Article in Journal
Temporal Profile of Neonicotinoid Concentrations in Cotton, Corn, and Soybean Resulting from Insecticidal Seed Treatments
Next Article in Special Issue
A Densely Connected GRU Neural Network Based on Coattention Mechanism for Chinese Rice-Related Question Similarity Matching
Previous Article in Journal
Environmental Assessment of Furrow vs. Drip Irrigated Pear (Pyrus bretschneideri Rehd.) Production Systems in Loess Plateau (China)
Previous Article in Special Issue
Assessing the Sentinel-2 Capabilities to Identify Abandoned Crops Using Deep Learning
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

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

1
School of Information and Computer, Anhui Agricultural University, Hefei 230036, China
2
Smart Agriculture Research Institute, Anhui Agricultural University, Hefei 230036, China
*
Author to whom correspondence should be addressed.
Agronomy 2021, 11(6), 1202; https://doi.org/10.3390/agronomy11061202
Submission received: 2 May 2021 / Revised: 4 June 2021 / Accepted: 7 June 2021 / Published: 12 June 2021
(This article belongs to the Special Issue Applications of Deep Learning in Smart Agriculture)

Abstract

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 R2 = 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.
Keywords: wheat ear; attention; you only look once (YOLO); detection and counting wheat ear; attention; you only look once (YOLO); detection and counting

Share and Cite

MDPI and ACS Style

Yang, B.; Gao, Z.; Gao, Y.; Zhu, Y. Rapid Detection and Counting of Wheat Ears in the Field Using YOLOv4 with Attention Module. Agronomy 2021, 11, 1202. https://doi.org/10.3390/agronomy11061202

AMA Style

Yang B, Gao Z, Gao Y, Zhu Y. Rapid Detection and Counting of Wheat Ears in the Field Using YOLOv4 with Attention Module. Agronomy. 2021; 11(6):1202. https://doi.org/10.3390/agronomy11061202

Chicago/Turabian Style

Yang, Baohua, Zhiwei Gao, Yuan Gao, and Yue Zhu. 2021. "Rapid Detection and Counting of Wheat Ears in the Field Using YOLOv4 with Attention Module" Agronomy 11, no. 6: 1202. https://doi.org/10.3390/agronomy11061202

APA Style

Yang, B., Gao, Z., Gao, Y., & Zhu, Y. (2021). Rapid Detection and Counting of Wheat Ears in the Field Using YOLOv4 with Attention Module. Agronomy, 11(6), 1202. https://doi.org/10.3390/agronomy11061202

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop