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 条
[41]   SAR Ship Target Detection Based on Lightweight YOLOv5 in Complex Environment [J].
Zhang, Jiaqi ;
Yang, Jie ;
Li, Xuan ;
Fan, Zhenhong ;
He, Zi ;
Ding, Dazhi .
2022 CROSS STRAIT RADIO SCIENCE & WIRELESS TECHNOLOGY CONFERENCE, CSRSWTC, 2022,
[42]   Real-time detection model of electrical work safety belt based on lightweight improved YOLOv5 [J].
Liu, Li ;
Huang, Kaiye ;
Bai, Yuang ;
Zhang, Qifan ;
Li, Yujian .
JOURNAL OF REAL-TIME IMAGE PROCESSING, 2024, 21 (04)
[43]   Improved YOLOv5 lightweight binocular vision UAV obstacle avoidance algorithm based on Ghost module [J].
Jia, Yifan ;
Cao, Tianyi ;
Bai, Yue .
CHINESE JOURNAL OF LIQUID CRYSTALS AND DISPLAYS, 2024, 39 (01) :111-119
[44]   Drone-View Object Detection Based on the Improved YOLOv5 [J].
Yang, Yanzhao .
2022 IEEE INTERNATIONAL CONFERENCE ON ELECTRICAL ENGINEERING, BIG DATA AND ALGORITHMS (EEBDA), 2022, :612-617
[45]   An Efficient Ship-Detection Algorithm Based on the Improved YOLOv5 [J].
Wang, Jia ;
Pan, Qiaoruo ;
Lu, Daohua ;
Zhang, Yushuang .
ELECTRONICS, 2023, 12 (17)
[46]   Laboratory Behavior Detection Method Based on Improved Yolov5 Model [J].
Zhang, Zhaofeng ;
Ao, Daiqin ;
Zhou, Luoyu ;
Yuan, Xiaolong ;
Luo, Mingzhang .
2021 INTERNATIONAL CONFERENCE ON CYBER-PHYSICAL SOCIAL INTELLIGENCE (ICCSI), 2021,
[47]   An detection algorithm for golden pomfret based on improved YOLOv5 network [J].
Yu, Guoyan ;
Luo, Yingtong ;
Deng, Ruoling .
SIGNAL IMAGE AND VIDEO PROCESSING, 2023, 17 (05) :1997-2004
[48]   An improved YOLOV5 based water surface garbage detection algorithm [J].
Han, Zhifan ;
Ye, Kuntao .
PROCEEDINGS OF INTERNATIONAL CONFERENCE ON ALGORITHMS, SOFTWARE ENGINEERING, AND NETWORK SECURITY, ASENS 2024, 2024, :135-139
[49]   Object Detection Method for Grasping Robot Based on Improved YOLOv5 [J].
Song, Qisong ;
Li, Shaobo ;
Bai, Qiang ;
Yang, Jing ;
Zhang, Xingxing ;
Li, Zhiang ;
Duan, Zhongjing .
MICROMACHINES, 2021, 12 (11)
[50]   An detection algorithm for golden pomfret based on improved YOLOv5 network [J].
Guoyan Yu ;
Yingtong Luo ;
Ruoling Deng .
Signal, Image and Video Processing, 2023, 17 :1997-2004