Real-Time Tracking Based on Improved YOLOv5 Detection in Orchard Environment for Dragon Fruit

IF 1.2 4区 农林科学 Q3 AGRICULTURAL ENGINEERING
ChaoFeng Wang, Congyue Wang, Lele Wang, Yuanhong Li, Yubin Lan
{"title":"Real-Time Tracking Based on Improved YOLOv5 Detection in Orchard Environment for Dragon Fruit","authors":"ChaoFeng Wang, Congyue Wang, Lele Wang, Yuanhong Li, Yubin Lan","doi":"10.13031/ja.15643","DOIUrl":null,"url":null,"abstract":"Highlights This method has achieved faster detection speed while maintaining accuracy. It is a real-time tracking method that can track dragon fruits in orchard environments in real-time. The introduction of an attention mechanism in the network provides good robustness to changes in lighting and target scale. Abstract. This article addresses the issue of dragon fruit real-time detection in orchard environments and proposes a real-time detection and tracking model for dragon fruit using an improved YOLOv5 object detection algorithm and Deep-sort object tracking algorithm. By applying real-time tracking to dragon fruit harvesting, the tracking algorithm provides timely feedback on the fruit's location, allowing for prompt correction of environmental issues that may affect the accuracy of the harvesting process. This approach enhances the robustness of the target positioning algorithm. First,based on the YOLOv5 object detection algorithm, the Convolutional Block Attention Module and Transformer self-attention mechanism are introduced to construct a YOLOv5s-DFT object detection model that is more suitable for dragon fruit detection. Next, Combining the Deep-sort multi-object tracking algorithm, this article proposes a real-time detection and tracking method for dragon fruit in the orchard environment. The YOLOv5s-DFT model was trained and experimented with using a self-built dataset. The trained model weight is only 19.26% of YOLOv7. The experimental result shows that, while ensuring detection accuracy, YOLOv5s-DFT has a faster detection speed in dragon fruit detection, with an average frame time of 0.01673 s, which is 0.00422 s faster than the original YOLOv5s. When tracking dragon fruit using the Deep-sort tracking algorithm, it can track dragon fruit at a speed of 47.08 frames per second. When utilizing the Deep-sort tracking algorithm to track dragon fruit, it achieves a tracking speed of 47.08 frames per second, enabling real-time acquisition of the fruit's position information. This technology provides technical assistance for the intelligent harvesting of dragon fruit and the intelligent management of dragon fruit orchards. Keywords: Dragon fruit, Improved YOLOv5, Orchard environment, Real-time tracking.","PeriodicalId":29714,"journal":{"name":"Journal of the ASABE","volume":null,"pages":null},"PeriodicalIF":1.2000,"publicationDate":"2023-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of the ASABE","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.13031/ja.15643","RegionNum":4,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"AGRICULTURAL ENGINEERING","Score":null,"Total":0}
引用次数: 0

Abstract

Highlights This method has achieved faster detection speed while maintaining accuracy. It is a real-time tracking method that can track dragon fruits in orchard environments in real-time. The introduction of an attention mechanism in the network provides good robustness to changes in lighting and target scale. Abstract. This article addresses the issue of dragon fruit real-time detection in orchard environments and proposes a real-time detection and tracking model for dragon fruit using an improved YOLOv5 object detection algorithm and Deep-sort object tracking algorithm. By applying real-time tracking to dragon fruit harvesting, the tracking algorithm provides timely feedback on the fruit's location, allowing for prompt correction of environmental issues that may affect the accuracy of the harvesting process. This approach enhances the robustness of the target positioning algorithm. First,based on the YOLOv5 object detection algorithm, the Convolutional Block Attention Module and Transformer self-attention mechanism are introduced to construct a YOLOv5s-DFT object detection model that is more suitable for dragon fruit detection. Next, Combining the Deep-sort multi-object tracking algorithm, this article proposes a real-time detection and tracking method for dragon fruit in the orchard environment. The YOLOv5s-DFT model was trained and experimented with using a self-built dataset. The trained model weight is only 19.26% of YOLOv7. The experimental result shows that, while ensuring detection accuracy, YOLOv5s-DFT has a faster detection speed in dragon fruit detection, with an average frame time of 0.01673 s, which is 0.00422 s faster than the original YOLOv5s. When tracking dragon fruit using the Deep-sort tracking algorithm, it can track dragon fruit at a speed of 47.08 frames per second. When utilizing the Deep-sort tracking algorithm to track dragon fruit, it achieves a tracking speed of 47.08 frames per second, enabling real-time acquisition of the fruit's position information. This technology provides technical assistance for the intelligent harvesting of dragon fruit and the intelligent management of dragon fruit orchards. Keywords: Dragon fruit, Improved YOLOv5, Orchard environment, Real-time tracking.
基于改进YOLOv5检测的火龙果果园环境实时跟踪
该方法在保持准确性的同时,实现了更快的检测速度。是一种能够实时跟踪果园环境中火龙果的实时跟踪方法。在网络中引入注意机制,对光照和目标尺度的变化具有良好的鲁棒性。摘要针对果园环境下火龙果的实时检测问题,采用改进的YOLOv5目标检测算法和Deep-sort目标跟踪算法,提出了火龙果的实时检测与跟踪模型。通过将实时跟踪应用于火龙果采摘,跟踪算法可以及时反馈水果的位置,从而及时纠正可能影响采收过程准确性的环境问题。该方法增强了目标定位算法的鲁棒性。首先,在YOLOv5目标检测算法的基础上,引入卷积块注意模块和Transformer自注意机制,构建了更适合火龙果检测的YOLOv5 - dft目标检测模型。接下来,结合深度排序多目标跟踪算法,提出了一种果园环境中火龙果的实时检测与跟踪方法。利用自建数据集对YOLOv5s-DFT模型进行训练和实验。训练出的模型权重仅为YOLOv7的19.26%。实验结果表明,在保证检测精度的同时,YOLOv5s- dft在火龙果检测中具有更快的检测速度,平均帧时间为0.01673 s,比原来的YOLOv5s快0.00422 s。在使用Deep-sort跟踪算法跟踪火龙果时,能够以47.08帧/秒的速度跟踪火龙果。利用Deep-sort跟踪算法对火龙果进行跟踪时,跟踪速度达到47.08帧/秒,能够实时获取火龙果的位置信息。该技术为火龙果的智能采收和火龙果果园的智能管理提供了技术支持。关键词:火龙果,改良YOLOv5,果园环境,实时跟踪
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
3.10
自引率
0.00%
发文量
0
×
引用
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学术官方微信