NeRFoot: Robot-Footprint Estimation for Image-Based Visual Servoing

Daoxin Zhong, Luke Robinson, Daniele De MartiniarXiv 2024

Abstract: This paper investigates the utility of Neural Radiance Fields (NeRF) models in extending the regions of operation of a mobile robot, controlled by Image-Based Visual Servoing (IBVS) via static CCTV cameras. Using NeRF as a 3D-representation prior, the robot's footprint may be extrapolated geometrically and used to train a CNN-based network to extract it online from the robot's appearance alone. The resulting footprint results in a tighter bound than a robot-wide bounding box, allowing the robot's controller to prescribe more optimal trajectories and expand its safe operational floor area.

Introduction

In many industrial and commercial settings, mobile robots are controlled via Image-Based Visual Servoing (IBVS)—essentially using overhead CCTV cameras to "see" and guide the robot. However, most IBVS systems rely on simple 2D bounding boxes to represent the robot.

The problem is that bounding boxes are "loose" approximations. If a robot’s rectangular bounding box overlaps with a wall in the camera's view, the controller assumes a collision is imminent and stops the robot. In reality, the robot’s actual base (its footprint) might be nowhere near the wall. This lack of 3D awareness leads to suboptimal path planning and "dead zones" where the robot could safely drive but is forbidden from doing so by a conservative controller.

Methodology

The authors propose a two-stage methodology to bridge the gap between 2D images and 3D reality, leveraging the geometric priors of Neural Radiance Fields.

1. NeRF Model Training

The process begins with a "calibration" phase where the robot spins in place. Using the Segment Anything Model (SAM), the robot is masked out of the background. The authors then use Structure-from-Motion (SfM) or transformer-based models (DUSt3R) to estimate camera poses.

Crucially, they implement a plane optimization constraint: since the robot moves on a flat floor, they constrain the camera pose optimization to a 2D plane. This significantly improves the quality of the resulting NeRF, which serves as a 3D neural representation of the robot.

2. YOLO Footprint Estimation

Once the NeRF model is built, the system synthesizes a "top-down" view of the robot to extract its exact ground-plane footprint. This footprint is then re-projected back into various simulated camera angles to create a synthetic, labeled dataset. This dataset is used to train a YOLOv8-seg network. During actual operation, this network can segment the robot's footprint in real-time based solely on its appearance in the CCTV feed.

The NeRFoot pipeline: from NeRF model generation and top-down segmentation to footprint projection for training.

Key Insights

  • Constraint as a Catalyst: Standard NeRF optimizers struggle with the specific geometry of a robot on a floor. By enforcing a "plane optimization" constraint (restricting pose changes to the floor plane), the researchers achieved much higher image reconstruction quality.
  • The "Blobby" Benefit: Interestingly, the YOLO model trained on synthetic NeRF data produced "blobbier" footprints than those derived from raw CAD data. While technically less "accurate" in terms of sharp edges, these blobbier estimates are preferred in robotics because they provide a naturally conservative safety margin.
  • Data Efficiency: The authors found that NeRF quality plateaus after about 150 images, suggesting the calibration phase (the robot spinning) can be relatively brief.

Experimental Results

The study was conducted in a simulated environment using Blender with a Clearpath Jackal robot model. The "Plane Opt" method significantly outperformed default optimizers, raising the PSNR (Peak Signal-to-Noise Ratio) from approximately 34.2 to 41.0 in high-error scenarios.

Quantitative comparison showing the performance gains of Plane Optimization over Default Optimization across various error levels.

In terms of segmentation reliability, the YOLO model trained on synthetic NeRF data achieved a Cross-Correlation Ratio (CCR) of 0.873. While a model trained on "perfect" ground truth failed to segment the footprint in 14 out of 200 test images, the NeRF-trained model was successful in 100% of the test cases, proving more robust to variations in the robot's appearance.

Conclusion and Future Work

NeRFoot demonstrates that NeRF-based synthetic data can effectively train robust footprint segmenters for IBVS. While the current results are based on simulation, they prove that moving beyond coarse bounding boxes allows for more optimal trajectories in tight spaces. Future work will involve deploying this pipeline on physical hardware to address real-world challenges like motion blur and varying lighting conditions.

Summary updated

Abstract

This paper investigates the utility of Neural Radiance Fields (NeRF) models in extending the regions of operation of a mobile robot, controlled by Image-Based Visual Servoing (IBVS) via static CCTV cameras. Using NeRF as a 3D-representation prior, the robot's footprint may be extrapolated geometrically and used to train a CNN-based network to extract it online from the robot's appearance alone. The resulting footprint results in a tighter bound than a robot-wide bounding box, allowing the robot's controller to prescribe more optimal trajectories and expand its safe operational floor area.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
NeRF rendering · average metrics by varying error magnitudePlane Opt.PSNR (↑)41.0avg-error=1
Source quote
L103: \multirow{4}*{Plane Opt.} │ 1 │ 41.0 │ 0.993 │ 0.00256
NeRF rendering · average metrics by varying error magnitudePlane Opt.SSIM (↑)0.993avg-error=1
Source quote
L103: \multirow{4}*{Plane Opt.} │ 1 │ 41.0 │ 0.993 │ 0.00256
NeRF rendering · average metrics by varying error magnitudePlane Opt.LPIPS (↓)0.00256avg-error=1
Source quote
L103: \multirow{4}*{Plane Opt.} │ 1 │ 41.0 │ 0.993 │ 0.00256
BibTeX
@misc{zhong2024nerfoot,
  author = {Daoxin Zhong and Luke Robinson and Daniele De Martini},
  title = {{NeRFoot: Robot-Footprint Estimation for Image-Based Visual Servoing}},
  year = {2024},
  eprint = {2408.01251},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2408.01251},
}
Figure