Analysis of the Impact of Different Improvement Methods Based on YOLOV8 for Weed Detection
Cuncai He,
Fangxin Wan,
Guojun Ma,
Xiaobin Mou,
Kaikai Zhang,
Xiangfeng Wu and
Xiaopeng Huang ()
Additional contact information
Cuncai He: College of Mechanical and Electronical Engineering, Gansu Agricultural University, Lanzhou 730070, China
Fangxin Wan: College of Mechanical and Electronical Engineering, Gansu Agricultural University, Lanzhou 730070, China
Guojun Ma: College of Mechanical and Electronical Engineering, Gansu Agricultural University, Lanzhou 730070, China
Xiaobin Mou: College of Mechanical and Electronical Engineering, Gansu Agricultural University, Lanzhou 730070, China
Kaikai Zhang: College of Mechanical and Electronical Engineering, Gansu Agricultural University, Lanzhou 730070, China
Xiangfeng Wu: College of Mechanical and Electronical Engineering, Gansu Agricultural University, Lanzhou 730070, China
Xiaopeng Huang: College of Mechanical and Electronical Engineering, Gansu Agricultural University, Lanzhou 730070, China
Agriculture, 2024, vol. 14, issue 5, 1-18
Abstract:
In response to the issues of missed detection, false positives, and low recognition rates for specific weed species during weed detection, a YOLOv8-based improved weed detection algorithm named EDS-YOLOv8 is proposed. Improvements were made in three main aspects. First, the YOLOv8 backbone network was enhanced with EfficientViT and RepViT architectures to improve the detection capability of dense-type weeds. Second, different attention mechanisms were added, such as SimAM and EMA, to learn 3D weights and achieve full fusion of features. BiFormer was introduced for dynamic sparse attention and resource allocation. Third, significant module improvement involved introducing dynamic snake convolution into the C2f module to further enhance detection capabilities for deformable objects, especially needle-shaped weeds. The improved model is validated on the established weed dataset. The results show that combining the original backbone network with dynamic snake convolutions yields the highest performance improvement. Precision, recall, mAP (0.5), and mAP (0.5:0.95) are improved by 5.6%, 5.8%, 6.4%, and 1%, respectively, and ablation experiments on the effects of the three improvement methods on model performance show that using EfficientViT as the backbone network while simultaneously improving the crucial module and adding the SimAM attention mechanism effectively enhances the model’s performance. Precision, recall, mAP (0.5), and mAP (0.5:0.95) are improved by 6%, 5.9%, 6.4%, and 0.7%, respectively.
Keywords: attention mechanism; weed detection; YOLOv8 (search for similar items in EconPapers)
JEL-codes: Q1 Q10 Q11 Q12 Q13 Q14 Q15 Q16 Q17 Q18 (search for similar items in EconPapers)
Date: 2024
References: View complete reference list from CitEc
Citations:
Downloads: (external link)
https://www.mdpi.com/2077-0472/14/5/674/pdf (application/pdf)
https://www.mdpi.com/2077-0472/14/5/674/ (text/html)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:gam:jagris:v:14:y:2024:i:5:p:674-:d:1383582
Access Statistics for this article
Agriculture is currently edited by Ms. Leda Xuan
More articles in Agriculture from MDPI
Bibliographic data for series maintained by MDPI Indexing Manager ().