IDEAS home Printed from https://ideas.repec.org/a/gam/jagris/v15y2024i1p22-d1553045.html

STBNA-YOLOv5: An Improved YOLOv5 Network for Weed Detection in Rapeseed Field

Author

Listed:
  • Tao Tao

    (Intelligent Manufacturing College, Yangzhou Polytechnic Institute, Yangzhou 225127, China
    Key Laboratory of Modern Agricultural Equipment and Technology, Ministry of Education, College of Agricultural Engineering, Jiangsu University, Zhenjiang 212013, China)

  • Xinhua Wei

    (Key Laboratory of Modern Agricultural Equipment and Technology, Ministry of Education, College of Agricultural Engineering, Jiangsu University, Zhenjiang 212013, China)

Abstract

Rapeseed is one of the primary oil crops; yet, it faces significant threats from weeds. The ideal method for applying herbicides would be selective variable spraying, but the primary challenge lies in automatically identifying weeds. To address the issues of dense weed identification, frequent occlusion, and varying weed sizes in rapeseed fields, this paper introduces a STBNA-YOLOv5 weed detection model and proposes three enhanced algorithms: incorporating a Swin Transformer encoder block to bolster feature extraction capabilities, utilizing a BiFPN structure coupled with a NAM attention mechanism module to efficiently harness feature information, and incorporating an adaptive spatial fusion module to enhance recognition sensitivity. Additionally, the random occlusion technique and weed category image data augmentation method are employed to diversify the dataset. Experimental results demonstrate that the STBNA-YOLOv5 model outperforms detection models such as SDD, Faster-RCNN, YOLOv3, DETR, and EfficientDet in terms of Precision, F1-score, and mAP@0.5, achieving scores of 0.644, 0.825, and 0.908, respectively. For multi-target weed detection, the study presents detection results under various field conditions, including sunny, cloudy, unobstructed, and obstructed. The results indicate that the weed detection model can accurately identify both rapeseed and weed species, demonstrating high stability.

Suggested Citation

  • Tao Tao & Xinhua Wei, 2024. "STBNA-YOLOv5: An Improved YOLOv5 Network for Weed Detection in Rapeseed Field," Agriculture, MDPI, vol. 15(1), pages 1-18, December.
  • Handle: RePEc:gam:jagris:v:15:y:2024:i:1:p:22-:d:1553045
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2077-0472/15/1/22/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2077-0472/15/1/22/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Hui Zhang & Zhi Wang & Yufeng Guo & Ye Ma & Wenkai Cao & Dexin Chen & Shangbin Yang & Rui Gao, 2022. "Weed Detection in Peanut Fields Based on Machine Vision," Agriculture, MDPI, vol. 12(10), pages 1-15, September.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Zhongyang Ma & Gang Wang & Jurong Yao & Dongyan Huang & Hewen Tan & Honglei Jia & Zhaobo Zou, 2023. "An Improved U-Net Model Based on Multi-Scale Input and Attention Mechanism: Application for Recognition of Chinese Cabbage and Weed," Sustainability, MDPI, vol. 15(7), pages 1-17, March.
    2. Xiangwu Deng & Long Qi & Zhuwen Liu & Song Liang & Kunsong Gong & Guangjun Qiu, 2023. "Weed target detection at seedling stage in paddy fields based on YOLOX," PLOS ONE, Public Library of Science, vol. 18(12), pages 1-22, December.
    3. Wenxuan Su & Wenzhong Yang & Jiajia Wang & Doudou Ren & Danny Chen, 2025. "MKD8: An Enhanced YOLOv8 Model for High-Precision Weed Detection," Agriculture, MDPI, vol. 15(8), pages 1-23, April.
    4. Marios Vasileiou & Leonidas Sotirios Kyrgiakos & Christina Kleisiari & Georgios Kleftodimos & George Vlontzos & Hatem Belhouchette & Panos M. Pardalos, 2024. "Transforming weed management in sustainable agriculture with artificial intelligence: a systematic literature review towards weed identification and deep learning," Post-Print hal-04297703, HAL.
    5. Shanxin Zhang & Hao Feng & Shaoyu Han & Zhengkai Shi & Haoran Xu & Yang Liu & Haikuan Feng & Chengquan Zhou & Jibo Yue, 2022. "Monitoring of Soybean Maturity Using UAV Remote Sensing and Deep Learning," Agriculture, MDPI, vol. 13(1), pages 1-21, December.
    6. Xinle Zhang & Jian Cui & Huanjun Liu & Yongqi Han & Hongfu Ai & Chang Dong & Jiaru Zhang & Yunxiang Chu, 2023. "Weed Identification in Soybean Seedling Stage Based on Optimized Faster R-CNN Algorithm," Agriculture, MDPI, vol. 13(1), pages 1-16, January.
    7. Jibo Yue & Chengquan Zhou & Haikuan Feng & Yanjun Yang & Ning Zhang, 2023. "Novel Applications of Optical Sensors and Machine Learning in Agricultural Monitoring," Agriculture, MDPI, vol. 13(10), pages 1-4, October.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jagris:v:15:y:2024:i:1:p:22-:d:1553045. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.