MonoDETR: Depth-guided Transformer for Monocular 3D Object Detection
About
Monocular 3D object detection has long been a challenging task in autonomous driving. Most existing methods follow conventional 2D detectors to first localize object centers, and then predict 3D attributes by neighboring features. However, only using local visual features is insufficient to understand the scene-level 3D spatial structures and ignores the long-range inter-object depth relations. In this paper, we introduce the first DETR framework for Monocular DEtection with a depth-guided TRansformer, named MonoDETR. We modify the vanilla transformer to be depth-aware and guide the whole detection process by contextual depth cues. Specifically, concurrent to the visual encoder that captures object appearances, we introduce to predict a foreground depth map, and specialize a depth encoder to extract non-local depth embeddings. Then, we formulate 3D object candidates as learnable queries and propose a depth-guided decoder to conduct object-scene depth interactions. In this way, each object query estimates its 3D attributes adaptively from the depth-guided regions on the image and is no longer constrained to local visual features. On KITTI benchmark with monocular images as input, MonoDETR achieves state-of-the-art performance and requires no extra dense depth annotations. Besides, our depth-guided modules can also be plug-and-play to enhance multi-view 3D object detectors on nuScenes dataset, demonstrating our superior generalization capacity. Code is available at https://github.com/ZrrSkywalker/MonoDETR.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| 3D Object Detection | nuScenes (val) | NDS52.6 | 941 | |
| 3D Object Detection | KITTI car (test) | AP3D (Easy)25 | 195 | |
| 3D Object Detection | KITTI car (val) | AP 3D Easy28.84 | 62 | |
| 3D Object Detection | KITTI (test) | -- | 60 | |
| Bird's Eye View Object Detection (Car) | KITTI (test) | APBEV (Easy) @IoU=0.733.6 | 59 | |
| Bird's eye view object detection | KITTI (test) | APBEV@0.7 (Easy)32.2 | 53 | |
| Bird's Eye View (BEV) Detection | KITTI Cars (IoU3D ≥ 0.7) (test) | APBEV R40 (Easy)33.6 | 52 | |
| 3D Object Detection | KITTI (test) | 3D AP (Easy)25 | 43 | |
| Monocular 3D Object Detection | KITTI (test) | AP3D R40 (Mod.)16.47 | 38 | |
| Monocular 3D Object Detection | KITTI car category (val) | AP 3D (R40)16.47 | 37 |