Skip to main content
QUICK REVIEW

[Paper Review] Learning Keypoints from Synthetic Data for Robotic Cloth Folding

Thomas Lips, Victor-Louis De Gusseme|arXiv (Cornell University)|May 13, 2022
3D Shape Modeling and AnalysisEngineering8 citations
TL;DR

This paper proposes training a convolutional neural network (CNN) for keypoint detection in robotic cloth folding using purely synthetic data generated via procedural 3D scene synthesis in Blender. The system achieves 77% grasp success and 53% fold success in zero-shot sim-to-real transfer on a unimanual robot, demonstrating that synthetic data can effectively train keypoint detectors for real-world cloth manipulation with minimal real-data annotation.

ABSTRACT

Robotic cloth manipulation is challenging due to its deformability, which makes determining its full state infeasible. However, for cloth folding, it suffices to know the position of a few semantic keypoints. Convolutional neural networks (CNN) can be used to detect these keypoints, but require large amounts of annotated data, which is expensive to collect. To overcome this, we propose to learn these keypoint detectors purely from synthetic data, enabling low-cost data collection. In this paper, we procedurally generate images of towels and use them to train a CNN. We evaluate the performance of this detector for folding towels on a unimanual robot setup and find that the grasp and fold success rates are 77% and 53%, respectively. We conclude that learning keypoint detectors from synthetic data for cloth folding and related tasks is a promising research direction, discuss some failures and relate them to future work. A video of the system, as well as the codebase, more details on the CNN architecture and the training setup can be found at https://github.com/tlpss/workshop-icra-2022-cloth-keypoints.git.

Motivation & Objective

  • To address the high cost and scarcity of real-world annotated data for robotic cloth manipulation by leveraging synthetic data.
  • To evaluate the feasibility of zero-shot sim-to-real transfer for keypoint detection in cloth folding using procedural data generation.
  • To analyze the performance and failure modes of a CNN-based keypoint detector trained solely on synthetic images in real-world robotic folding tasks.
  • To identify domain shift factors—such as lighting, distractors, and material properties—that affect generalization and guide future synthetic data design.

Proposed method

  • Procedural generation of synthetic RGB images using Blender and BlenderProc, including randomized towel geometry, materials (HSV color + Perlin noise), lighting, camera pose, and distractor objects.
  • Training of a CNN to predict 2D heatmaps of semantic keypoints (towel corners) from single RGB images, with ground truth annotations derived from synthetic scene geometry.
  • Zero-shot deployment of the trained keypoint detector on a real-world unimanual robot setup with a Robotiq 2F-85 gripper and ZED2i stereo camera.
  • Execution of a scripted, open-loop grasp and quasi-static fold trajectory based on detected keypoints, with real-time inference and image preprocessing (cropping and resizing to 256×256).
  • Use of domain randomization techniques, including random background textures and varied lighting conditions, to reduce the reality gap.
  • Evaluation across multiple real-world conditions: natural light, LED lighting, presence of distractors, and out-of-distribution towels with non-uniform textures.

Experimental results

Research questions

  • RQ1Can a keypoint detector trained exclusively on synthetic data achieve sufficient accuracy for real-world robotic cloth folding?
  • RQ2How robust is the zero-shot sim-to-real transfer performance under real-world domain shifts such as lighting variations and distractor objects?
  • RQ3What are the primary causes of failure in grasp and fold execution when using synthetic data-trained detectors?
  • RQ4How do material properties and towel geometry (e.g., partial folds, non-uniform textures) affect detection and manipulation performance?

Key findings

  • The keypoint detector achieved a 77% grasp success rate on in-distribution towels under various lighting and distractor conditions, indicating strong generalization from synthetic data.
  • The fold success rate was 53%, with 80% of fold failures attributed to corner misalignment due to cloth bending during execution, highlighting limitations of open-loop control.
  • Out-of-distribution towels with non-uniform textures reduced the grasp success rate to 48%, indicating sensitivity to unmodeled visual variations.
  • Grasp failures were primarily due to inaccurate or incomplete keypoint detection, suggesting residual reality gap in synthetic data distribution.
  • Lightweight towels caused grasp failures due to insufficient friction, leading to the cloth being pushed rather than lifted.
  • The inference time was negligible (<1s), while the full grasp and fold execution took ~20s, indicating that perception is not the performance bottleneck.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.