基于YOLOv5和FlowNet2的苹果产量检测无人机在线视觉跟踪算法研究

Shaopeng Wang, Xiaodong Zhang, Haiming Shen, Minxuan Tian, Mingyang Li
{"title":"基于YOLOv5和FlowNet2的苹果产量检测无人机在线视觉跟踪算法研究","authors":"Shaopeng Wang, Xiaodong Zhang, Haiming Shen, Minxuan Tian, Mingyang Li","doi":"10.1109/WRCSARA57040.2022.9903925","DOIUrl":null,"url":null,"abstract":"Accurate monitoring of fruit quantity in apple orchards will allow growers to manage their orchards more efficiently, leading to higher yields. In addition, the rapid and accurate inspection of fruit in the orchard is also one of the basic technologies needed for smart agriculture. This paper proposes a real-time method for apple tracking and yield estimation. UAV carrying RGB camera is used as an inspection platform, which analyzes the video in real time during the inspection. The algorithm is built according to the Tracking-by-Detecting framework, where YOLOV5 target detection model is used to obtain apples’ exact position. Meanwhile, the apples’ position in next frame is estimated according to the optical flow calculated from FlowNet2 model. Then, the predicted position and detected position is matched by the Hungarian algorithm. A dataset close to the actual situation in the orchard is constructed to verify the effectiveness of the proposed method. To improve the detection accuracy of apple under actual scene, the data enhancement strategy of random occlusion and mosaic enhancement is used for model training. As a result, the accuracy of apple detection achieved by the algorithm in this paper is 85.5%, which is 11% higher than previous studies. Besides, it can keep well tracking of detected apples even under the influence of complex occlusion or other factors, and achieve an accuracy of 90.39% in apple yield estimation. More importantly, this algorithm can reach a speed of 20FPS on the experimental platform, which meets the real-time requirements of UAV inspection.","PeriodicalId":106730,"journal":{"name":"2022 WRC Symposium on Advanced Robotics and Automation (WRC SARA)","volume":"62 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-08-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"Research on UAV Online Visual Tracking Algorithm based on YOLOv5 and FlowNet2 for Apple Yield Inspection*\",\"authors\":\"Shaopeng Wang, Xiaodong Zhang, Haiming Shen, Minxuan Tian, Mingyang Li\",\"doi\":\"10.1109/WRCSARA57040.2022.9903925\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Accurate monitoring of fruit quantity in apple orchards will allow growers to manage their orchards more efficiently, leading to higher yields. In addition, the rapid and accurate inspection of fruit in the orchard is also one of the basic technologies needed for smart agriculture. This paper proposes a real-time method for apple tracking and yield estimation. UAV carrying RGB camera is used as an inspection platform, which analyzes the video in real time during the inspection. The algorithm is built according to the Tracking-by-Detecting framework, where YOLOV5 target detection model is used to obtain apples’ exact position. Meanwhile, the apples’ position in next frame is estimated according to the optical flow calculated from FlowNet2 model. Then, the predicted position and detected position is matched by the Hungarian algorithm. A dataset close to the actual situation in the orchard is constructed to verify the effectiveness of the proposed method. To improve the detection accuracy of apple under actual scene, the data enhancement strategy of random occlusion and mosaic enhancement is used for model training. As a result, the accuracy of apple detection achieved by the algorithm in this paper is 85.5%, which is 11% higher than previous studies. Besides, it can keep well tracking of detected apples even under the influence of complex occlusion or other factors, and achieve an accuracy of 90.39% in apple yield estimation. More importantly, this algorithm can reach a speed of 20FPS on the experimental platform, which meets the real-time requirements of UAV inspection.\",\"PeriodicalId\":106730,\"journal\":{\"name\":\"2022 WRC Symposium on Advanced Robotics and Automation (WRC SARA)\",\"volume\":\"62 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2022-08-20\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2022 WRC Symposium on Advanced Robotics and Automation (WRC SARA)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/WRCSARA57040.2022.9903925\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 WRC Symposium on Advanced Robotics and Automation (WRC SARA)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/WRCSARA57040.2022.9903925","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

摘要

对苹果园果实数量的准确监测将使种植者能够更有效地管理果园,从而提高产量。此外,果园中水果的快速准确检测也是智慧农业所需的基础技术之一。本文提出了一种苹果跟踪与产量估算的实时方法。采用搭载RGB摄像机的无人机作为巡检平台,对巡检过程中的视频进行实时分析。该算法基于tracking -by- detection框架构建,采用YOLOV5目标检测模型获取苹果的准确位置。同时,根据FlowNet2模型计算的光流估计苹果在下一帧中的位置。然后,用匈牙利算法对预测位置和检测位置进行匹配。构建了一个接近果园实际情况的数据集,验证了所提方法的有效性。为了提高实际场景下苹果的检测精度,采用随机遮挡和马赛克增强的数据增强策略进行模型训练。结果表明,本文算法对苹果的检测准确率为85.5%,比以往的研究提高了11%。此外,即使在复杂遮挡或其他因素的影响下,该方法也能很好地跟踪被检测的苹果,估计苹果产量的准确率达到90.39%。更重要的是,该算法在实验平台上可以达到20FPS的速度,满足了无人机检测的实时性要求。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Research on UAV Online Visual Tracking Algorithm based on YOLOv5 and FlowNet2 for Apple Yield Inspection*
Accurate monitoring of fruit quantity in apple orchards will allow growers to manage their orchards more efficiently, leading to higher yields. In addition, the rapid and accurate inspection of fruit in the orchard is also one of the basic technologies needed for smart agriculture. This paper proposes a real-time method for apple tracking and yield estimation. UAV carrying RGB camera is used as an inspection platform, which analyzes the video in real time during the inspection. The algorithm is built according to the Tracking-by-Detecting framework, where YOLOV5 target detection model is used to obtain apples’ exact position. Meanwhile, the apples’ position in next frame is estimated according to the optical flow calculated from FlowNet2 model. Then, the predicted position and detected position is matched by the Hungarian algorithm. A dataset close to the actual situation in the orchard is constructed to verify the effectiveness of the proposed method. To improve the detection accuracy of apple under actual scene, the data enhancement strategy of random occlusion and mosaic enhancement is used for model training. As a result, the accuracy of apple detection achieved by the algorithm in this paper is 85.5%, which is 11% higher than previous studies. Besides, it can keep well tracking of detected apples even under the influence of complex occlusion or other factors, and achieve an accuracy of 90.39% in apple yield estimation. More importantly, this algorithm can reach a speed of 20FPS on the experimental platform, which meets the real-time requirements of UAV inspection.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术文献互助群
群 号:604180095
Book学术官方微信