基于改进YOLOv5的青稞轻量化检测。

IF 4.7 2区 生物学 Q1 BIOCHEMICAL RESEARCH METHODS
Minghui Cai, Hui Deng, Jianwei Cai, Weipeng Guo, Zhipeng Hu, Dongzheng Yu, Houxi Zhang
{"title":"基于改进YOLOv5的青稞轻量化检测。","authors":"Minghui Cai, Hui Deng, Jianwei Cai, Weipeng Guo, Zhipeng Hu, Dongzheng Yu, Houxi Zhang","doi":"10.1186/s13007-025-01353-0","DOIUrl":null,"url":null,"abstract":"<p><p>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 <math><msub><mtext>AP</mtext> <mrow><mn>0.5</mn></mrow> </msub> </math> reaches 92.7% and 93.5% for highland barley in the growth and maturation stages, respectively, and the overall <math><msub><mtext>mAP</mtext> <mrow><mn>0.5</mn></mrow> </msub> </math> 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.</p>","PeriodicalId":20100,"journal":{"name":"Plant Methods","volume":"21 1","pages":"42"},"PeriodicalIF":4.7000,"publicationDate":"2025-03-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC11934575/pdf/","citationCount":"0","resultStr":"{\"title\":\"Lightweight highland barley detection based on improved YOLOv5.\",\"authors\":\"Minghui Cai, Hui Deng, Jianwei Cai, Weipeng Guo, Zhipeng Hu, Dongzheng Yu, Houxi Zhang\",\"doi\":\"10.1186/s13007-025-01353-0\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<p><p>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 <math><msub><mtext>AP</mtext> <mrow><mn>0.5</mn></mrow> </msub> </math> reaches 92.7% and 93.5% for highland barley in the growth and maturation stages, respectively, and the overall <math><msub><mtext>mAP</mtext> <mrow><mn>0.5</mn></mrow> </msub> </math> 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.</p>\",\"PeriodicalId\":20100,\"journal\":{\"name\":\"Plant Methods\",\"volume\":\"21 1\",\"pages\":\"42\"},\"PeriodicalIF\":4.7000,\"publicationDate\":\"2025-03-24\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC11934575/pdf/\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Plant Methods\",\"FirstCategoryId\":\"99\",\"ListUrlMain\":\"https://doi.org/10.1186/s13007-025-01353-0\",\"RegionNum\":2,\"RegionCategory\":\"生物学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"BIOCHEMICAL RESEARCH METHODS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Plant Methods","FirstCategoryId":"99","ListUrlMain":"https://doi.org/10.1186/s13007-025-01353-0","RegionNum":2,"RegionCategory":"生物学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"BIOCHEMICAL RESEARCH METHODS","Score":null,"Total":0}
引用次数: 0

摘要

准确、高效地评估青稞密度对优化青稞栽培和管理具有重要意义。然而,无人机(UAV)图像中的重叠尖峰和高分辨率图像分析的计算需求等挑战阻碍了实时检测能力。为了解决这些问题,本研究提出了一种改进的轻量级YOLOv5青稞穗检测模型。我们分别选择深度可分离卷积(DSConv)和幽灵卷积(GhostConv)来减少主干和颈部网络的参数和计算复杂度。此外,卷积块注意模块(CBAM)的集成增强了模型在复杂背景下对目标物体的聚焦能力。结果表明,改进后的YOLOv5模型在检测性能上有显著提高。准确率和召回率分别提高3.1%至92.2%和86.2%,F1得分为0.892。青稞生育期和成熟期的AP 0.5分别达到92.7%和93.5%,总体mAP 0.5提高到93.1%。与基线YOLOv5n模型相比,参数数量和浮点操作(flop)分别减少了70.6%和75.6%,实现了轻量级部署,同时不影响精度。此外,该模型在检测精度和计算效率方面均优于Faster R-CNN、Mask R-CNN、RetinaNet、YOLOv7、YOLOv8等主流目标检测算法。虽然本研究还存在光照条件变化下泛化程度不够、依赖矩形标注等局限性,但为青稞穗实时检测系统的开发提供了有价值的支持和参考,有助于提高农业管理水平。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Lightweight highland barley detection based on improved YOLOv5.

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 AP 0.5 reaches 92.7% and 93.5% for highland barley in the growth and maturation stages, respectively, and the overall mAP 0.5 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.

求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
Plant Methods
Plant Methods 生物-植物科学
CiteScore
9.20
自引率
3.90%
发文量
121
审稿时长
2 months
期刊介绍: Plant Methods is an open access, peer-reviewed, online journal for the plant research community that encompasses all aspects of technological innovation in the plant sciences. There is no doubt that we have entered an exciting new era in plant biology. The completion of the Arabidopsis genome sequence, and the rapid progress being made in other plant genomics projects are providing unparalleled opportunities for progress in all areas of plant science. Nevertheless, enormous challenges lie ahead if we are to understand the function of every gene in the genome, and how the individual parts work together to make the whole organism. Achieving these goals will require an unprecedented collaborative effort, combining high-throughput, system-wide technologies with more focused approaches that integrate traditional disciplines such as cell biology, biochemistry and molecular genetics. Technological innovation is probably the most important catalyst for progress in any scientific discipline. Plant Methods’ goal is to stimulate the development and adoption of new and improved techniques and research tools and, where appropriate, to promote consistency of methodologies for better integration of data from different laboratories.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信