Papers › MonoDTR: Monocular 3D Object Detection with Depth-Aware Transformer

MonoDTR: Monocular 3D Object Detection with Depth-Aware Transformer

21 Mar 2022CVPR 2022 1arXiv:2203.10981archive 2025-07-28

Kuan-Chih Huang, Tsung-Han Wu, Hung-Ting Su, Winston H. Hsu

Monocular 3D object detection is an important yet challenging task in autonomous driving. Some existing methods leverage depth information from an off-the-shelf depth estimator to assist 3D detection, but suffer from the additional computational burden and achieve limited performance caused by inaccurate depth priors. To alleviate this, we propose MonoDTR, a novel end-to-end depth-aware transformer network for monocular 3D object detection. It mainly consists of two components: (1) the Depth-Aware Feature Enhancement (DFE) module that implicitly learns depth-aware features with auxiliary supervision without requiring extra computation, and (2) the Depth-Aware Transformer (DTR) module that globally integrates context- and depth-aware features. Moreover, different from conventional pixel-wise positional encodings, we introduce a novel depth positional encoding (DPE) to inject depth positional hints into transformers. Our proposed depth-aware modules can be easily plugged into existing image-only monocular 3D object detectors to improve the performance. Extensive experiments on the KITTI dataset demonstrate that our approach outperforms previous state-of-the-art monocular-based methods and achieves real-time detection. Code is available at https://github.com/kuanchihhuang/MonoDTR

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2203.10981")

Code

Syntology Ran 3 of 8 code samples harvested from 1 repository linked to this paper; 5 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · our draft was wrong; 1 ran with no contract checked.

By repository: official repository: 8 samples from 1 repository, 3 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

kuanchihhuang/monodtr officialmentioned in papermentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

8 samples harvested; 3 ran; 1 honoured the contract we drafted; 5 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
1ran · our draft was wrong
1ran
5unverified

Licence: 0 of the 8 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from kuanchihhuang/monodtr. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

conv3x3 kuanchihhuang/monodtr/visualDet3D/networks/backbones/dla.py official repository ran · our draft was wrong MIT (permissive) · fac5364e2f53c6db · report
elu_feature_map kuanchihhuang/monodtr/visualDet3D/networks/detectors/dtr.py official repository ran · honoured contract fingerprinted MIT (permissive) · 0d5505bd782b4a89 · report
get_model_url kuanchihhuang/monodtr/visualDet3D/networks/backbones/dla.py official repository ran fingerprinted MIT (permissive) · 3c9867a84d7c18d9 · report
anchors_for_shape kuanchihhuang/monodtr/visualDet3D/networks/heads/anchors.py official repository unverified MIT (permissive) · 2a214da3b52ccc74 · report
bin_depths kuanchihhuang/monodtr/visualDet3D/networks/heads/depth_losses.py official repository unverified MIT (permissive) · 87726458df330951 · report
compute_shape kuanchihhuang/monodtr/visualDet3D/networks/heads/anchors.py official repository unverified MIT (permissive) · 0e14588c12c9c1b4 · report
dla34 kuanchihhuang/monodtr/visualDet3D/networks/backbones/dla.py official repository unverified MIT (permissive) · 1e380a5690a619ef · report
generate_anchors kuanchihhuang/monodtr/visualDet3D/networks/heads/anchors.py official repository unverified MIT (permissive) · 1279986e0f62b111 · report

Tasks

3D Object Detection3D Object Detection From Monocular ImagesAutonomous DrivingMonocular 3D Object DetectionObjectObject Detectionobject-detection

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
3D Object Detection From Monocular Images KITTI-360 MonoDTR AP25 39.76 #5 of 11 Archive leaderboard report
3D Object Detection From Monocular Images KITTI-360 MonoDTR AP50 3.02 #5 of 11 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

Absolute Position EncodingsAdamAttentionBPEDense ConnectionsDropoutLabel SmoothingLayer NormalizationLinear LayerMulti-Head AttentionPosition-Wise Feed-Forward LayerResidual ConnectionSoftmaxTransformer

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections