arXiv:2610.29177cs.CVOct 2026

Manuscript Offprint

arXiv:2610.29177

ROCOCO: Robust Outline Completion of Occluded Curvilinear Objects

Ken Zheng, Jaimyn Drake

Abstract

We propose a learning-based generative model for completing curvilinear features under occlusion by environmental obstacles. To this end, we adopt a flow matching-based approach that supports the inpainting of occluded regions with the appropriate curvilinear features. To eliminate the reliance on privileged information about the occlusion a priori, we also train a UNet-based mask prediction model, which can identify regions for inpainting given only the occluded observation. The components of our approach are validated via experiments using procedurally-generated test cases, and the complete pipeline is validated using large public datasets for curvilinear objects. Against off-the-shelf inpainting baselines, ROCOCO is the strongest method by a wide margin when no occlusion mask is given, and is competitive with mask-supervised inpainting when one is, achieving best on full-image error and second only to LaMa on the occluded region, while using a completer of 7.7M parameters against LaMa's 51M and Stable Diffusion's 860M. We release our code.

1 Introduction

The perception of curvilinear objects is an important task in robotics, contributing to downstream applications such as the manipulation of deformable linear objects (DLOs) [2], which promise automation in the electronics, automotive, and manufacturing industries. Such manipulation is challenging in part because of pose estimation difficulties, including self-occlusion. Occlusions are particularly problematic due to the natural variability of segment states in curvilinear objects, unlike rigid-body counterparts. This work therefore addresses occlusion in curvilinear features by producing a learned generative model that completes such features across occlusion-induced discontinuities.

Prior work has investigated tracing curvilinear objects [16], but largely focuses on un-occluded objects fully visible on planar surfaces. More recently, work has addressed occluding objects that produce discontinuities [20], but does so through interactive perception, using a robotic manipulator to remove obstacles and reduce uncertainty, rather than addressing unavoidable occlusions. Other works have used diffusion-based methods to estimate the shape and appearance of partially-occluded objects [11], but primarily consider rigid or piecewise-rigid objects rather than deformable and/or curvilinear ones.

In our work, we employ a similar flow-matching approach [8] to estimate partially-occluded objects, focusing specifically on curvilinear features. Our primary contributions are:

  1. A two-stage learning-based pipeline for completing curvilinear objects under occlusions.

  2. Experiments ablating our approach and comparing it with relevant baselines.

40th Conference on Neural Information Processing Systems (NeurIPS 2026). Workshop: New in Machine Learning.

  1. Results on realistic curvilinear-object datasets showing that our approach is the strongest available method when no occlusion mask is provided, and competitive with mask-supervised inpainting when one is provided, while using a small fraction of the parameters.