Lightweight highland barley detection based on improved YOLOv5

被引:0
作者
Cai, Minghui [1 ,2 ]
Deng, Hui [3 ]
Cai, Jianwei [1 ,2 ]
Guo, Weipeng [1 ]
Hu, Zhipeng [1 ]
Yu, Dongzheng [1 ]
Zhang, Houxi [1 ]
机构
[1] Fujian Agr & Forestry Univ, Coll Forestry, Fuzhou 350002, Fujian, Peoples R China
[2] Fujian Agr & Forestry Univ, Coll Juncao Sci & Ecol, Fuzhou 350002, Fujian, Peoples R China
[3] Chengdu Univ Technol, Coll Geog & Planning, Chengdu 610059, Sichuan, Peoples R China
关键词
Object detection; YOLOv5; Lightweight; Highland barley; UAV;
D O I
10.1186/s13007-025-01353-0
中图分类号
Q5 [生物化学];
学科分类号
071010 ; 081704 ;
摘要
Accurate and efficient assessment of highland barley (Hordeum vulgare L.) density is crucial for optimizing cultivation and management practices. However, challenges such as overlapping spikes in unmanned aerial vehicle (UAV) images and the computational requirements for high-resolution image analysis hinder real-time detection capabilities. To address these issues, this study proposes an improved lightweight YOLOv5 model for highland barley spike detection. We chose depthwise separable convolution (DSConv) and ghost convolution (GhostConv) for the backbone and neck networks, respectively, to reduce the parameter and computational complexity. In addition, the integration of convolutional block attention module (CBAM) enhances the model's ability to focus on target object in complex backgrounds. The results show that the improved YOLOv5 model has a significant improvement in detection performance. Precision and recall increased by 3.1% to 92.2% and 86.2%, respectively, with an F1 score of 0.892. The AP0.5\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\hbox {AP}_{0.5}$$\end{document} reaches 92.7% and 93.5% for highland barley in the growth and maturation stages, respectively, and the overall mAP0.5\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\hbox {mAP}_{0.5}$$\end{document} improved to 93.1%. Compared to the baseline YOLOv5n model, the number of parameters and floating-point operations (FLOPs) were reduced by 70.6% and 75.6%, respectively, enabling lightweight deployment without compromising accuracy. In addition,the proposed model outperformed mainstream object detection algorithms such as Faster R-CNN, Mask R-CNN, RetinaNet, YOLOv7, and YOLOv8, in terms of detection accuracy and computational efficiency. Although this study also suffers from limitations such as insufficient generalization under varying lighting conditions and reliance on rectangular annotations, it provides valuable support and reference for the development of real-time highland barley spike detection systems, which can help to improve agricultural management.
引用
收藏
页数:13
相关论文
共 50 条
  • [31] An infrared vehicle detection method based on improved YOLOv5
    Zhang X.
    Zhao H.
    Liu W.
    Zhao Y.
    Guan S.
    [J]. Hongwai yu Jiguang Gongcheng/Infrared and Laser Engineering, 2023, 52 (08):
  • [32] Night Lighting Fault Detection Based on Improved YOLOv5
    Zhang, Feng
    Dai, Congqi
    Zhang, Wanlu
    Liu, Shu
    Guo, Ruiqian
    [J]. BUILDINGS, 2024, 14 (10)
  • [33] Small Target Detection Algorithm Based on Improved YOLOv5
    Chen, Ruiyun
    Liu, Zhonghua
    Ou, Weihua
    Zhang, Kaibing
    [J]. ELECTRONICS, 2024, 13 (21)
  • [34] Object Detection of Individual Mangrove Based on Improved YOLOv5
    Ma Yongkang
    Liu Hua
    Ling Chengxing
    Zhao Feng
    Jiang Yi
    Zhang Yutong
    [J]. LASER & OPTOELECTRONICS PROGRESS, 2022, 59 (18)
  • [35] Small-target smoking detection algorithm based on improved YOLOv5
    Yan, Hong
    Jiang, Zhanbo
    Han, Zeshan
    Jiao, Yufan
    [J]. JOURNAL OF COMPUTATIONAL METHODS IN SCIENCES AND ENGINEERING, 2024, 24 (4-5) : 2187 - 2198
  • [36] Improved Light-Weight Target Detection Method Based on YOLOv5
    Shi, Tao
    Zhu, Wenxu
    Su, Yanjie
    [J]. IEEE ACCESS, 2023, 11 : 38604 - 38613
  • [37] Detection of River Floating Debris in UAV Images Based on Improved YOLOv5
    Huang, Junkai
    Jiang, Xianliang
    Jin, Guang
    [J]. 2022 INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS (IJCNN), 2022,
  • [38] Improved Lightweight YOLOv5 Using Attention Mechanism for Satellite Components Recognition
    Li, Cong
    Zhao, Gaopeng
    Gu, Dongqing
    Wang, Zebin
    [J]. IEEE SENSORS JOURNAL, 2023, 23 (01) : 514 - 526
  • [39] Light-YOLOv5: A Lightweight Algorithm for Improved YOLOv5 in Complex Fire Scenarios
    Xu, Hao
    Li, Bo
    Zhong, Fei
    [J]. APPLIED SCIENCES-BASEL, 2022, 12 (23):
  • [40] A Lightweight YOLOv5 Optimization of Coordinate Attention
    Wu, Jun
    Dong, Jiaming
    Nie, Wanyu
    Ye, Zhiwei
    [J]. APPLIED SCIENCES-BASEL, 2023, 13 (03):