A passion fruit counting method based on the lightweight YOLOv5s and improved DeepSORT

被引:0
作者
Shuqin Tu
Yufei Huang
Yun Liang
Hongxing Liu
Yifan Cai
Hua Lei
机构
[1] South China Agricultural University,College of Mathematics and Informatics
[2] Guangzhou Key Laboratory of Intelligent Agriculture,undefined
来源
Precision Agriculture | 2024年 / 25卷
关键词
Lightweight; Multiple object tracking; YOLOv5s; DeepSORT;
D O I
暂无
中图分类号
学科分类号
摘要
Accurate yield estimation of passion fruits is essential for planning acreage and harvest timing. However, due to the complexity of the natural environment and tracking instability, the existing yield estimation methods suffer from excessively large models that are difficult to deploy or repetitive counting of fruit. Therefore, an improved approach for efficient passion fruit yield estimation was proposed using the lightweight YOLOv5s and improved DeepSORT. First, the video is fed into the proposed lightweight YOLOv5s called YOLOv5s-little to obtain coordinates and confidence information about the fruits within each frame. Then, the information obtained from the detection model is input into improved DeepSORT for continuous frame tracking of passion fruit. Considering the frequent error IDs (ID switching), two improvements based on DeepSORT are proposed: delaying the creation of tracks and adding a second round of IoU matching. Finally, to overcome the problem of repetitive counting, a specific tracking counting method based on the track information and state is used for accurate passion fruit counting. Our method achieved a competitive result in tests. YOLOv5s-little detector achieved precision of 98.9%, 98.3% recall, 99.5% mAP, and only 0.9MB model size. The improved DeepSORT algorithm achieved higher order tracking accuracy (HOTA) of 79.6%, multi-object tracking accuracy (MOTA) of 92.58%, identification F1 (IDF1) of 95.02%, and ID switch (IDSW) of 11 respectively. Compared with DeepSORT, it improved by 4.66%, 1.8%, and 9.16% in HOTA, MOTA and IDF1, respectively, and IDSW improved the most with 85%. Compared with FairMOT and TransTrack, the HOTA of YOLOv5s-little + improved DeepSORT achieved improvements of 11.56% and 25.24%, respectively. The statistical average counting accuracy of our proposed counting method reaches 95.1%, which is a 7.09% improvement over the maximum ID value counting method. The counting results from test videos are highly correlated with the manual counting results (R2\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${\text{R}}^{2}$$\end{document} = 0.96), indicating that the counting method has high accuracy and effectiveness. These results show that YOLOv5s-little + improved DeepSORT can meet the practical needs of passion fruit yield estimation in real scenarios.
引用
收藏
页码:1731 / 1750
页数:19
相关论文
共 192 条
[1]  
Ariza-Sentís M(2023)Object detection and tracking on UAV RGB videos for early extraction of grape phenotypic traits Computers and Electronics in Agriculture 211 11-57
[2]  
Baja H(2022)Peaches detection using a deep learning technique—a contribution to yield estimation, resources management, and circular economy Climate 10 49-11425
[3]  
Vélez S(2019)Agricultural area losses and pollinator mismatch due to climate changes endanger passion fruit production in the Neotropics Agricultural Systems 169 11418-1135
[4]  
Valente J(2022)APPLE MOTS: Detection, segmentation and tracking of homogeneous objects using MOTS IEEE Robotics and Automation Letter 7 1290-101
[5]  
Assunção ET(2022)Drone-computer communication based tomato generative organ counting model using YOLO V5 and deep-sort Agriculture 12 489-160
[6]  
Gaspar PD(2022)A novel apple fruit detection and counting methodology based on deep learning and trunk tracking in modern orchard Computers and Electronics in Agriculture 197 10741-2303
[7]  
Mesquita RJM(2022)Tracking and counting of tomato at different growth period using an improving YOLO-deepsort network for inspection robot Machines 10 3043-578
[8]  
Simões MP(2022)A review of deep learning-based visual multi-object tracking algorithms for autonomous driving Applied Sciences 12 1107-30
[9]  
Ramos A(2022)Fruit yield prediction and estimation in orchards: A state-of-the-art comprehensive review for both direct and indirect methods Computers and Electronics in Agriculture 195 88-1091
[10]  
Proença H(2022)Cascade-SORT: A robust fruit counting approach using multiple features cascade matching Computers and Electronics in Agriculture 200 139-281