Shaohua Liu, Tianxing Zhao, Jinlin Xue, Pengfei Lv, Ruikai Liu, Yi Zhang, Weiwei Gao, Han Sun, Tianyu Zhang
{"title":"Binocular localization method for pear-picking robots based on YOLO-CDS and RSIQR module collaborative optimization","authors":"Shaohua Liu, Tianxing Zhao, Jinlin Xue, Pengfei Lv, Ruikai Liu, Yi Zhang, Weiwei Gao, Han Sun, Tianyu Zhang","doi":"10.1016/j.compag.2025.110962","DOIUrl":null,"url":null,"abstract":"<div><div>Variations in lighting conditions and obstructions significantly impact the localization accuracy of pear-picking robots in standardized orchards. This study proposed a binocular localization method that integrated an improved You Only Look Once (YOLO-CDS) detection network with a Recurrent All-Pairs Field Transformers for Stereo and Interquartile Range statistical optimization module (RSIQR). By constructing a dual-module collaborative architecture of “detection-depth value optimization,” the method systematically addressed challenges such as lighting, obstructions, and background interference. In the detection module, the YOLOv8-based YOLO-CDS model introduced the C2f-Efficient Multi-scale Bottleneck Convolution module (C2f-EMBC), DySample module, and Shape Intersection over Union (Shape-IoU) to enhance feature extraction and bounding box accuracy. In the RSIQR module, the Recurrent All-Pairs Field Transformers for Stereo (RAFT-Stereo) algorithm replaced the Semi-Global Matching (SGM) algorithm in the binocular camera system to improve disparity estimation. Finally, the depth values from YOLO-CDS and RAFT-Stereo were optimized using the Interquartile Range (IQR) method to obtain more accurate depth information. Experimental results showed that the YOLO-CDS model achieved mAP@50 of 97.5 % on the multi-class pear dataset, an improvement of 1.9 percentage points over previous models. Additionally, the maximum localization error of pear coordinates under daytime front lighting, daytime backlighting, and nighttime supplementary lighting conditions within 300 mm to 1000 mm was 2.357 % ± 0.415 %. Orchard picking tests showed that for unobstructed targets, the proposed method achieved a localization success rate of 100 % and a picking success rate of 91.93 %. These results show that the proposed method, combined with a tailored picking strategy, reduces invalid actions while ensuring hardware safety and continuous operation, thereby contributing to improved picking efficiency. This study provides robust technical support for the application of pear-picking robots in standardized orchard environments.</div></div>","PeriodicalId":50627,"journal":{"name":"Computers and Electronics in Agriculture","volume":"239 ","pages":"Article 110962"},"PeriodicalIF":8.9000,"publicationDate":"2025-09-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computers and Electronics in Agriculture","FirstCategoryId":"97","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0168169925010683","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURE, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0
Abstract
Variations in lighting conditions and obstructions significantly impact the localization accuracy of pear-picking robots in standardized orchards. This study proposed a binocular localization method that integrated an improved You Only Look Once (YOLO-CDS) detection network with a Recurrent All-Pairs Field Transformers for Stereo and Interquartile Range statistical optimization module (RSIQR). By constructing a dual-module collaborative architecture of “detection-depth value optimization,” the method systematically addressed challenges such as lighting, obstructions, and background interference. In the detection module, the YOLOv8-based YOLO-CDS model introduced the C2f-Efficient Multi-scale Bottleneck Convolution module (C2f-EMBC), DySample module, and Shape Intersection over Union (Shape-IoU) to enhance feature extraction and bounding box accuracy. In the RSIQR module, the Recurrent All-Pairs Field Transformers for Stereo (RAFT-Stereo) algorithm replaced the Semi-Global Matching (SGM) algorithm in the binocular camera system to improve disparity estimation. Finally, the depth values from YOLO-CDS and RAFT-Stereo were optimized using the Interquartile Range (IQR) method to obtain more accurate depth information. Experimental results showed that the YOLO-CDS model achieved mAP@50 of 97.5 % on the multi-class pear dataset, an improvement of 1.9 percentage points over previous models. Additionally, the maximum localization error of pear coordinates under daytime front lighting, daytime backlighting, and nighttime supplementary lighting conditions within 300 mm to 1000 mm was 2.357 % ± 0.415 %. Orchard picking tests showed that for unobstructed targets, the proposed method achieved a localization success rate of 100 % and a picking success rate of 91.93 %. These results show that the proposed method, combined with a tailored picking strategy, reduces invalid actions while ensuring hardware safety and continuous operation, thereby contributing to improved picking efficiency. This study provides robust technical support for the application of pear-picking robots in standardized orchard environments.
光照条件和障碍物的变化对标准化果园采梨机器人的定位精度有显著影响。本研究提出了一种双目定位方法,该方法将改进的You Only Look Once (YOLO-CDS)检测网络与用于立体和四分位范围统计优化模块(RSIQR)的循环全对场变压器相结合。通过构建“探测深度值优化”的双模块协作架构,该方法系统地解决了照明、障碍物和背景干扰等挑战。在检测模块中,基于yolov8的YOLO-CDS模型引入了C2f-Efficient Multi-scale Bottleneck Convolution模块(C2f-EMBC)、dyssample模块和Shape Intersection over Union模块(Shape- iou)来提高特征提取和边界盒精度。在RSIQR模块中,rraft -Stereo (Recurrent All-Pairs Field transformer for Stereo)算法取代了双目相机系统中的半全局匹配(Semi-Global Matching, SGM)算法,改善了视差估计。最后,利用四分位间距(IQR)方法对YOLO-CDS和RAFT-Stereo的深度值进行优化,以获得更准确的深度信息。实验结果表明,YOLO-CDS模型在多类梨数据上的准确率达到了mAP@50(97.5%),比之前的模型提高了1.9个百分点。在300 ~ 1000 mm范围内,白天正面光照、白天背光和夜间补充光照条件下梨坐标的最大定位误差为2.357%±0.415%。果园采摘试验表明,对于无障碍物的目标,该方法的定位成功率为100%,采摘成功率为91.93%。结果表明,该方法与定制的拣选策略相结合,在保证硬件安全和连续操作的同时,减少了无效动作,从而提高了拣选效率。本研究为采梨机器人在标准化果园环境中的应用提供了强有力的技术支持。
期刊介绍:
Computers and Electronics in Agriculture provides international coverage of advancements in computer hardware, software, electronic instrumentation, and control systems applied to agricultural challenges. Encompassing agronomy, horticulture, forestry, aquaculture, and animal farming, the journal publishes original papers, reviews, and applications notes. It explores the use of computers and electronics in plant or animal agricultural production, covering topics like agricultural soils, water, pests, controlled environments, and waste. The scope extends to on-farm post-harvest operations and relevant technologies, including artificial intelligence, sensors, machine vision, robotics, networking, and simulation modeling. Its companion journal, Smart Agricultural Technology, continues the focus on smart applications in production agriculture.