• 文献检索
  • 文档翻译
  • 深度研究
  • 学术资讯
  • Suppr Zotero 插件Zotero 插件
  • 邀请有礼
  • 套餐&价格
  • 历史记录
应用&插件
Suppr Zotero 插件Zotero 插件浏览器插件Mac 客户端Windows 客户端微信小程序
定价
高级版会员购买积分包购买API积分包
服务
文献检索文档翻译深度研究API 文档MCP 服务
关于我们
关于 Suppr公司介绍联系我们用户协议隐私条款
关注我们

Suppr 超能文献

核心技术专利:CN118964589B侵权必究
粤ICP备2023148730 号-1Suppr @ 2026

文献检索

告别复杂PubMed语法,用中文像聊天一样搜索,搜遍4000万医学文献。AI智能推荐,让科研检索更轻松。

立即免费搜索

文件翻译

保留排版,准确专业,支持PDF/Word/PPT等文件格式,支持 12+语言互译。

免费翻译文档

深度研究

AI帮你快速写综述,25分钟生成高质量综述,智能提取关键信息,辅助科研写作。

立即免费体验

基于改进的DeepSort和优化的Yolov5s的青椒果实计数

Green pepper fruits counting based on improved DeepSort and optimized Yolov5s.

作者信息

Du Pengcheng, Chen Shang, Li Xu, Hu Wenwu, Lan Nan, Lei Xiangming, Xiang Yang

机构信息

College of Mechanical and Electrical Engineering, Hunan Agricultural University, Changsha, China.

出版信息

Front Plant Sci. 2024 Jul 16;15:1417682. doi: 10.3389/fpls.2024.1417682. eCollection 2024.

DOI:10.3389/fpls.2024.1417682
PMID:39081526
原文链接:https://pmc.ncbi.nlm.nih.gov/articles/PMC11286429/
Abstract

INTRODUCTION

Green pepper yield estimation is crucial for establishing harvest and storage strategies.

METHOD

This paper proposes an automatic counting method for green pepper fruits based on object detection and multi-object tracking algorithm. Green pepper fruits have colors similar to leaves and are often occluded by each other, posing challenges for detection. Based on the YOLOv5s, the CS_YOLOv5s model is specifically designed for green pepper fruit detection. In the CS_YOLOv5s model, a Slim-Nick combined with GSConv structure is utilized in the Neck to reduce model parameters while enhancing detection speed. Additionally, the CBAM attention mechanism is integrated into the Neck to enhance the feature perception of green peppers at various locations and enhance the feature extraction capabilities of the model.

RESULT

According to the test results, the CS_YOLOv5s model of mAP, Precision and Recall, and Detection time of a single image are 98.96%, 95%, 97.3%, and 6.3 ms respectively. Compared to the YOLOv5s model, the Detection time of a single image is reduced by 34.4%, while Recall and mAP values are improved. Additionally, for green pepper fruit tracking, this paper combines appearance matching algorithms and track optimization algorithms from SportsTrack to optimize the DeepSort algorithm. Considering three different scenarios of tracking, the MOTA and MOTP are stable, but the ID switch is reduced by 29.41%. Based on the CS_YOLOv5s model, the counting performance before and after DeepSort optimization is compared. For green pepper counting in videos, the optimized DeepSort algorithm achieves ACP (Average Counting Precision), MAE (Mean Absolute Error), and RMSE (Root Mean Squared Error) values of 95.33%, 3.33, and 3.74, respectively. Compared to the original algorithm, ACP increases by 7.2%, while MAE and RMSE decrease by 6.67 and 6.94, respectively. Additionally, Based on the optimized DeepSort, the fruit counting results using YOLOv5s model and CS_YOLOv5s model were compared, and the results show that using the better object detector CS_YOLOv5s has better counting accuracy and robustness.

摘要

引言

青椒产量估计对于制定收获和储存策略至关重要。

方法

本文提出了一种基于目标检测和多目标跟踪算法的青椒果实自动计数方法。青椒果实颜色与叶子相似,且常相互遮挡,给检测带来挑战。基于YOLOv5s,专门设计了CS_YOLOv5s模型用于青椒果实检测。在CS_YOLOv5s模型中,颈部采用了Slim-Nick与GSConv相结合的结构,以减少模型参数同时提高检测速度。此外,将CBAM注意力机制集成到颈部,以增强对不同位置青椒的特征感知并提升模型的特征提取能力。

结果

根据测试结果,CS_YOLOv5s模型的平均精度均值(mAP)、精确率(Precision)、召回率(Recall)以及单张图像的检测时间分别为98.96%、95%、97.3%和6.3毫秒。与YOLOv5s模型相比,单张图像的检测时间减少了34.4%,同时召回率和mAP值有所提高。此外,对于青椒果实跟踪,本文结合了SportsTrack中的外观匹配算法和轨迹优化算法对DeepSort算法进行优化。考虑三种不同的跟踪场景,多目标跟踪精度(MOTA)和多目标跟踪误差(MOTP)较为稳定,但身份切换减少了29.4 %。基于CS_YOLOv5s模型,比较了DeepSort优化前后的计数性能。对于视频中的青椒计数,优化后的DeepSort算法的平均计数精度(ACP)、平均绝对误差(MAE)和均方根误差(RMSE)值分别为95.33%、3.33和3.74。与原算法相比,ACP提高了7.2%,而MAE和RMSE分别下降了6.67和6.94。此外,基于优化后的DeepSort,比较了使用YOLOv5s模型和CS_YOLOv5s模型的果实计数结果,结果表明使用更好的目标检测器CS_YOLOv5s具有更好的计数准确性和鲁棒性。

https://cdn.ncbi.nlm.nih.gov/pmc/blobs/e42f/11286429/a939478aa853/fpls-15-1417682-g011.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/e42f/11286429/0b807a163ba6/fpls-15-1417682-g001.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/e42f/11286429/919ed6181750/fpls-15-1417682-g002.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/e42f/11286429/81bd38d2b55f/fpls-15-1417682-g003.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/e42f/11286429/65ee67c9c1eb/fpls-15-1417682-g004.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/e42f/11286429/b4ff3536808b/fpls-15-1417682-g005.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/e42f/11286429/6dfa136a9678/fpls-15-1417682-g006.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/e42f/11286429/63e56c70ef0d/fpls-15-1417682-g007.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/e42f/11286429/8b8289210202/fpls-15-1417682-g008.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/e42f/11286429/e4736442dede/fpls-15-1417682-g009.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/e42f/11286429/f9e8ef9b5b72/fpls-15-1417682-g010.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/e42f/11286429/a939478aa853/fpls-15-1417682-g011.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/e42f/11286429/0b807a163ba6/fpls-15-1417682-g001.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/e42f/11286429/919ed6181750/fpls-15-1417682-g002.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/e42f/11286429/81bd38d2b55f/fpls-15-1417682-g003.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/e42f/11286429/65ee67c9c1eb/fpls-15-1417682-g004.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/e42f/11286429/b4ff3536808b/fpls-15-1417682-g005.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/e42f/11286429/6dfa136a9678/fpls-15-1417682-g006.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/e42f/11286429/63e56c70ef0d/fpls-15-1417682-g007.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/e42f/11286429/8b8289210202/fpls-15-1417682-g008.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/e42f/11286429/e4736442dede/fpls-15-1417682-g009.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/e42f/11286429/f9e8ef9b5b72/fpls-15-1417682-g010.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/e42f/11286429/a939478aa853/fpls-15-1417682-g011.jpg

相似文献

1
Green pepper fruits counting based on improved DeepSort and optimized Yolov5s.基于改进的DeepSort和优化的Yolov5s的青椒果实计数
Front Plant Sci. 2024 Jul 16;15:1417682. doi: 10.3389/fpls.2024.1417682. eCollection 2024.
2
Research on the Method of Counting Wheat Ears via Video Based on Improved YOLOv7 and DeepSort.基于改进的 YOLOv7 和 DeepSort 的视频小麦穗计数方法研究。
Sensors (Basel). 2023 May 18;23(10):4880. doi: 10.3390/s23104880.
3
Deep-learning-based in-field citrus fruit detection and tracking.基于深度学习的田间柑橘果实检测与跟踪
Hortic Res. 2022 Feb 11;9. doi: 10.1093/hr/uhac003.
4
Accurate and fast detection of tomatoes based on improved YOLOv5s in natural environments.基于改进的YOLOv5s在自然环境中对番茄进行准确快速检测
Front Plant Sci. 2024 Jan 11;14:1292766. doi: 10.3389/fpls.2023.1292766. eCollection 2023.
5
An improved YOLOv5s model using feature concatenation with attention mechanism for real-time fruit detection and counting.一种改进的YOLOv5s模型,使用带有注意力机制的特征拼接进行实时水果检测与计数。
Front Plant Sci. 2023 Jun 26;14:1153505. doi: 10.3389/fpls.2023.1153505. eCollection 2023.
6
Helmet-Wearing Tracking Detection Based on StrongSORT.基于 StrongSORT 的戴盔检测。
Sensors (Basel). 2023 Feb 3;23(3):1682. doi: 10.3390/s23031682.
7
Enhanced YOLOv5s-Based Algorithm for Industrial Part Detection.基于增强型YOLOv5s的工业零件检测算法
Sensors (Basel). 2024 Feb 11;24(4):1183. doi: 10.3390/s24041183.
8
Research on Safety Helmet Detection Algorithm Based on Improved YOLOv5s.基于改进 YOLOv5s 的安全头盔检测算法研究。
Sensors (Basel). 2023 Jun 22;23(13):5824. doi: 10.3390/s23135824.
9
YOLOv5s-SA: Light-Weighted and Improved YOLOv5s for Sperm Detection.YOLOv5s-SA:用于精子检测的轻量级改进型YOLOv5s
Diagnostics (Basel). 2023 Mar 14;13(6):1100. doi: 10.3390/diagnostics13061100.
10
On-Line Detection Method of Salted Egg Yolks with Impurities Based on Improved YOLOv7 Combined with DeepSORT.基于改进YOLOv7与DeepSORT相结合的咸蛋黄杂质在线检测方法
Foods. 2024 Aug 16;13(16):2562. doi: 10.3390/foods13162562.

引用本文的文献

1
The Bayesian mixture expert recognition model for tobacco leaf curing stages based on feature fusion.基于特征融合的烟叶烘烤阶段贝叶斯混合专家识别模型
Plant Methods. 2025 Jun 16;21(1):86. doi: 10.1186/s13007-025-01384-7.
2
Attention-enhanced StrongSORT for robust vehicle tracking in complex environments.用于复杂环境中稳健车辆跟踪的注意力增强型StrongSORT算法
Sci Rep. 2025 May 20;15(1):17472. doi: 10.1038/s41598-025-99524-5.

本文引用的文献

1
Deep-learning-based in-field citrus fruit detection and tracking.基于深度学习的田间柑橘果实检测与跟踪
Hortic Res. 2022 Feb 11;9. doi: 10.1093/hr/uhac003.
2
Image Based Mango Fruit Detection, Localisation and Yield Estimation Using Multiple View Geometry.基于图像的芒果果实检测、定位及产量估计:利用多视图几何方法
Sensors (Basel). 2016 Nov 15;16(11):1915. doi: 10.3390/s16111915.
3
Spatial Pyramid Pooling in Deep Convolutional Networks for Visual Recognition.空间金字塔池化在深度卷积网络中的视觉识别。
IEEE Trans Pattern Anal Mach Intell. 2015 Sep;37(9):1904-16. doi: 10.1109/TPAMI.2015.2389824.
4
Definition of linear color models in the RGB vector color space to detect red peaches in orchard images taken under natural illumination.在 RGB 向量颜色空间中定义线性颜色模型,以检测自然光下拍摄的果园图像中的红桃。
Sensors (Basel). 2012;12(6):7701-18. doi: 10.3390/s120607701. Epub 2012 Jun 7.