DetectFusion: Detecting and Segmenting Both Known and Unknown Dynamic Objects in Real-time SLAM

Ryo Hachiuma, Christian Pirchheim, Dieter Schmalstieg, Hideo Saito

Introduction

Simultaneous Localization and Mapping (SLAM) is a cornerstone of robotics, yet most existing systems rely on a "static world" assumption. In real-world environments, moving objects—whether semantically known (like people) or unknown (like a pushed box)—can cause tracking failures and map corruption. DetectFusion addresses these challenges by introducing a real-time RGB-D SLAM system capable of segmenting both known and unknown dynamic objects at frame-rate on a single GPU.

Methodology

DetectFusion utilizes a "detect-while-segment" architecture that combines 2D deep learning with 3D geometric processing to break the computational bottleneck of traditional instance segmentation.

The DetectFusion system architecture, showing the parallel Tracking, Segmentation, and Mapping pipelines.

Known and Unknown Object Segmentation

The system handles dynamic elements through two parallel paths:

  1. Known Objects: Instead of heavy instance segmentation networks like Mask R-CNN, DetectFusion uses YOLOv3 for fast 2D bounding box detection. These boxes are intersected with 3D geometric segments (grouped by surface normals and depth discontinuities) to produce precise masks efficiently.
  2. Unknown Objects: For objects not in the detector's training set, the system calculates ICP (Iterative Closest Point) residuals. Regions that do not align with the existing static map are flagged as dynamic and refined using the same geometric segmentation to ensure complete object masking.

Tracking and Mapping

The system maintains separate "surfel" (surface element) maps for the static background and individual moving objects. A two-pass tracking approach first aligns the camera with all visible maps, then refines the background pose by explicitly excluding dynamic regions, preventing trajectory drift caused by moving objects.

Key Results and Performance

DetectFusion achieves real-time performance of approximately 22 fps (46ms per frame) on a single NVIDIA GTX 1080Ti. This represents a significant efficiency gain over previous state-of-the-art methods that often required multi-GPU setups to maintain real-time rates.

A comparison of DetectFusion against other SLAM methods, highlighting its unique ability to handle both known and unknown dynamic objects at frame-rate.

In terms of accuracy, the system excels in highly dynamic environments. On the TUM RGB-D fr3/walking_xyz sequence, it achieved an Absolute Trajectory Error (ATE) of 8.5 cm, outperforming MaskFusion (10.4 cm) and StaticFusion (12.7 cm). Furthermore, synthetic tests showed superior reconstruction completeness, successfully capturing more of the moving object's geometry over time compared to existing baselines.

Conclusion

By leveraging the synergy between fast 2D detection and 3D geometry, DetectFusion provides a robust solution for SLAM in dynamic environments. It effectively bridges the gap between semantic understanding and geometric motion detection, maintaining the real-time performance necessary for practical robotic applications. Future work will focus on improving segment-to-instance matching in cluttered scenes and handling non-convex objects more effectively.

Summary updated

BibTeX
@inproceedings{hachiuma2019detectfusion,
  author = {Ryo Hachiuma and Christian Pirchheim and Dieter Schmalstieg and Hideo Saito},
  title = {{DetectFusion: Detecting and Segmenting Both Known and Unknown Dynamic Objects in Real-time SLAM}},
  booktitle = {BMVC},
  year = {2019},
  url = {https://openreview.net/forum?id=5olxTgGir3ji},
}
Figure