Abstract:Fresh sweet potato is an important economic crop in Hainan Province, and the use of robots for picking operations is an effective means to improve harvesting efficiency. However, in complex field environments, accurate extraction of target contours still suffers from poor robustness and low segmentation accuracy. To address this issue, a cascaded improved detection-segmentation method was proposed: lightweight YOLO 11n was used as the detection backbone, cascaded with boundary-aware salient net (BASNet) to enhance the accuracy and stability of contour recognition in the field. Firstly, the original backbone of YOLO 11n was replaced with lightweight FasterNet, significantly reducing model parameters and improving inference speed. Secondly, a large separable kernel attention (LSKA) module with multi-scale and variable dilation rates was introduced into the backbone network to flexibly expand the receptive field, enhancing the response capability to small targets and targets occluded by vegetation. Then, the squeeze-and-excitation version 2 (SENetV2) channel attention module was inserted before the small and medium target detection heads to further improve target signal extraction capability in complex backgrounds through global feature recalibration. Finally, the detector's bounding boxes were passed to BASNet for pixel-level salient segmentation, removing background noise and refining object contours. On benchmark comparisons, the improved FLS-YOLO 11n achieved a 4.1 percentage points increase in recall and a 1.8 percentage points gain in mAP while substantially reducing model volume and parameter count and improving inference FPS. After cascading with BASNet, segmentation MAE was reduced by roughly 40%, and max Fβ, maxEφ, and max Sm was increase by 3.37%, 3.31% and 4.19%, respectively. Field trials on a harvesting robot produced a 90.6% grasp success rate. Results demonstrated that the proposed pipeline attained high contour recognition accuracy in complex harvesting environments, offering a practical technical path for engineering deployment of sweet potato picking robots.