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 条
  • [1] Improved lightweight road damage detection based on YOLOv5
    Liu, Chang
    Sun, Yu
    Chen, Jin
    Yang, Jing
    Wang, Fengchao
    OPTOELECTRONICS LETTERS, 2025, 21 (05) : 314 - 320
  • [2] Lightweight Tunnel Obstacle Detection Based on Improved YOLOv5
    Li, Yingjie
    Ma, Chuanyi
    Li, Liping
    Wang, Rui
    Liu, Zhihui
    Sun, Zizheng
    SENSORS, 2024, 24 (02)
  • [3] Improved lightweight road damage detection based on YOLOv5
    LIU Chang
    SUN Yu
    CHEN Jin
    YANG Jing
    WANG Fengchao
    Optoelectronics Letters, 2025, 21 (05) : 314 - 320
  • [4] Lightweight UAV Detection Algorithm Based on Improved YOLOv5
    Peng Y.
    Tu X.
    Yang Q.
    Li R.
    Hunan Daxue Xuebao/Journal of Hunan University Natural Sciences, 2023, 50 (12): : 28 - 38
  • [5] Lightweight Fire Detection Algorithm Based on Improved YOLOv5
    Zhang, Dawei
    Chen, Yutang
    INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2024, 15 (06) : 809 - 816
  • [6] An improved lightweight object detection algorithm for YOLOv5
    Luo, Hao
    Wei, Jiangshu
    Wang, Yuchao
    Chen, Jinrong
    Li, Wujie
    PEERJ COMPUTER SCIENCE, 2024, 10
  • [7] Lightweight network for insulator fault detection based on improved YOLOv5
    Weng, Dehua
    Zhu, Zhiliang
    Yan, Zhengbing
    Wu, Moran
    Jiang, Ziang
    Ye, Nan
    CONNECTION SCIENCE, 2024, 36 (01)
  • [8] Lightweight Surface Defect Detection Algorithm Based on Improved YOLOv5
    Yang, Kaijun
    Chen, Tao
    2024 5TH INTERNATIONAL CONFERENCE ON MECHATRONICS TECHNOLOGY AND INTELLIGENT MANUFACTURING, ICMTIM 2024, 2024, : 798 - 802
  • [9] Research on lightweight algorithm for gangue detection based on improved Yolov5
    Yuan, Xinpeng
    Fu, Zhibo
    Zhang, Bowen
    Xie, Zhengkun
    Gan, Rui
    SCIENTIFIC REPORTS, 2024, 14 (01)
  • [10] Lightweight Algorithm for Apple Detection Based on an Improved YOLOv5 Model
    Sun, Yu
    Zhang, Dongwei
    Guo, Xindong
    Yang, Hua
    PLANTS-BASEL, 2023, 12 (17):