Abstract
We present an approach for estimating the pose of an external camera with respect to a robot using a single RGB image of the robot. The image is processed by a deep neural network to detect 2D projections of keypoints (such as joints) associated with the robot. The network is trained entirely on simulated data using domain randomization to bridge the reality gap. Perspective-n-point (PnP) is then used to recover the camera extrinsics, assuming that the camera intrinsics and joint configuration of the robot manipulator are known. Unlike classic hand-eye calibration systems, our method does not require an off-line calibration step. Rather, it is capable of computing the camera extrinsics from a single frame, thus opening the possibility of on-line calibration. We show experimental results for three different robots and camera sensors, demonstrating that our approach is able to achieve accuracy with a single frame that is comparable to that of classic off-line hand-eye calibration using multiple frames. With additional frames from a static pose, accuracy improves even further. Code, datasets, and pretrained models for three widely-used robot manipulators are made available.
Introduction
In robotic systems, precise interaction with the environment often depends on knowing the exact 3D transformation between an external camera and the robot's base. This process, known as "hand-eye calibration," typically involves attaching fiducial markers like ArUco tags to the robot and capturing multiple images across various poses. This offline procedure is time-consuming and fragile; any accidental movement of the camera necessitates a full recalibration.
DREAM (Deep Robot-to-camera Extrinsics for Articulated Manipulators) addresses these challenges by providing a markerless, general-purpose calibration tool. By leveraging deep learning and geometric computer vision, DREAM can estimate camera extrinsics from a single RGB frame, enabling real-time, online calibration that is robust to environmental changes.
Methodology
The DREAM framework utilizes a two-stage pipeline to recover the 6D camera-to-robot pose from a single image.
- Keypoint Detection: A deep neural network (VGG-19 or ResNet backbone) processes the input RGB image to generate "belief maps" for specific robot keypoints, primarily its joints.
- Pose Estimation: The 2D coordinates of these keypoints are extracted from the belief maps. Since the robot's joint angles are known via proprioception, their 3D positions in the robot's base frame can be calculated using forward kinematics. These 2D-3D correspondences, along with known camera intrinsics, are fed into the Perspective-n-Point (PnP) algorithm to determine the camera's pose relative to the robot.
Training via Domain Randomization
A core strength of DREAM is its ability to generalize to real-world environments despite being trained exclusively on synthetic data. To bridge the "reality gap," the authors employ domain randomization (DR).
During training, approximately 100,000 synthetic images were generated for various robot models (Franka Panda, Kuka LBR iiwa, Rethink Baxter). These images featured randomized lighting conditions, textures, camera viewpoints, and "flying" 3D distractors. This variety forces the network to learn the underlying structural features of the robot rather than over-fitting to specific environmental details.
Experimental Results
The system was evaluated using several real-world datasets, including the Panda-3Cam dataset (17,000 frames from three different sensors) and the Panda-Orb dataset (40,000 frames from 27 orbital camera positions).
DREAM's single-frame accuracy proved comparable to traditional multi-frame hand-eye calibration (HEC). In a workspace reaching task, DREAM achieved a mean error of 27.4 mm with one frame, while traditional HEC required 10 frames to reach 28.2 mm. Furthermore, accuracy scales with more data; if multiple frames are available from a static camera, DREAM can aggregate keypoint detections to further refine the pose estimate.
Discussion and Limitations
While DREAM demonstrates high accuracy and hardware-agnostic performance, some challenges remain. For dual-arm robots like the Rethink Baxter, the network occasionally struggles with symmetry, sometimes confusing the left and right arms. Additionally, performance is somewhat sensitive to image quality, as seen with older sensors like the Kinect 360.
Future work includes implementing temporal filtering for smoother pose tracking, developing uncertainty metrics for predictions, and integrating this online calibration directly into closed-loop manipulation tasks.
Conclusion
DREAM represents a significant step toward flexible, markerless robot-camera calibration. By combining the strengths of deep learning for robust feature detection with classic geometric algorithms for pose estimation, it enables robots to "see" their relationship to external sensors instantly and accurately, facilitating easier deployment in dynamic real-world settings.
Summary updated