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 条
[21]   Lightweight Meter Pointer Recognition Method Based on Improved YOLOv5 [J].
Zhang, Chi ;
Wang, Kai ;
Zhang, Jie ;
Zhou, Fan ;
Zou, Le .
SENSORS, 2024, 24 (05)
[22]   A Lightweight Method for Detecting Sewer Defects Based on Improved YOLOv5 [J].
Zhang, Xing ;
Zhang, Jiawei ;
Tian, Lei ;
Liu, Xiang ;
Wang, Shuohong .
APPLIED SCIENCES-BASEL, 2023, 13 (15)
[23]   An Improved Lightweight YOLOv5 for Remote Sensing Images [J].
Hou, Shihao ;
Fan, Linwei ;
Zhang, Fan ;
Liu, Bingchen .
ARTIFICIAL NEURAL NETWORKS AND MACHINE LEARNING, ICANN 2023, PT II, 2023, 14255 :77-89
[24]   UAV forest fire detection based on lightweight YOLOv5 model [J].
Zhou, Mengdong ;
Wu, Lei ;
Liu, Shuai ;
Li, Jianjun .
MULTIMEDIA TOOLS AND APPLICATIONS, 2023, 83 (22) :61777-61788
[25]   Lightweight detection algorithm of seed potato eyes based on YOLOv5 [J].
Gu, Hongyu ;
Li, Zhihe ;
Li, Tao ;
Li, Tianhao ;
Li, Ning ;
Wei, Zhongcai .
Nongye Gongcheng Xuebao/Transactions of the Chinese Society of Agricultural Engineering, 2024, 40 (14) :126-136
[26]   Lightweight Vehicle Detection Based on Improved YOLOv5s [J].
Wang, Yuhai ;
Xu, Shuobo ;
Wang, Peng ;
Li, Kefeng ;
Song, Ze ;
Zheng, Quanfeng ;
Li, Yanshun ;
He, Qiang .
SENSORS, 2024, 24 (04)
[27]   Research on Self-explosion Defect Detection of Lightweight Glass Insulators Based on Improved YOLOv5 [J].
Wang D. ;
Zhang S. ;
Yuan B. ;
Zhao W. ;
Zhu R. .
Gaodianya Jishu/High Voltage Engineering, 2023, 49 (10) :4382-4390
[28]   Research on improved algorithm for helmet detection based on YOLOv5 [J].
Shan, Chun ;
Liu, Hongming ;
Yu, Yu .
SCIENTIFIC REPORTS, 2023, 13 (01)
[29]   An Improved Waste Detection and Classification Model Based on YOLOV5 [J].
Hu, Fan ;
Qian, Pengjiang ;
Jiang, Yizhang ;
Yao, Jian .
INTELLIGENT COMPUTING METHODOLOGIES, PT III, 2022, 13395 :741-754
[30]   Detection of River Floating Garbage Based on Improved YOLOv5 [J].
Yang, Xingshuai ;
Zhao, Jingyi ;
Zhao, Li ;
Zhang, Haiyang ;
Li, Li ;
Ji, Zhanlin ;
Ganchev, Ivan .
MATHEMATICS, 2022, 10 (22)