All models

Depth-Any-Camera

Zero-shot metric depth for fisheye and 360-degree images by working in a shared ERP image space.

Depth estimation · 2,493 operations Structure only

Structure-only capture: TorchLens recorded this graph without running real numbers through the model, so shapes and data types on the diagram are hypotheses, not measurements.

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

This diagram has 2,493 operations (37 KB) and is drawn when you ask.

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
205.9M
Operations
2,493
Framework
PyTorch
Recurrent
No
Published
CVPR 2025
Cited by
24 (as of 27 October 2026)
Authors
Yuliang Guo, Sparsh Garg, S. Mahdi H. Miangoleh and others
License
MIT
Checked
Structure only: shapes and data types are hypotheses, not measurements.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m16058
Graph hash
0635d35da7859b8d7d5ca4dbe03cb20c9716f3da56108889e36f2513dc1dc1bc
Skeleton hash
1d06f60ba06117066f517996cb560acfaf7301f289d457ea06e1067e152e6765
Architecture hash
fb3fe02117682d706e44026946c8917c9df6beaaa5838edca145a55003fe96f3
Diagram SHA-256
e49196d639b3c87c0057dcba37043a509eb62505cffdcab15e10b4842cd1aac6
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3

What it is

This model is IDiscERP, the authors' modified version of the IDisc model with isolated image and positional encoding features, in its SwinTransformer-Large (SwinL) backbone configuration.

Depth Any Camera (DAC) is a zero-shot metric depth estimation framework that extends a perspective-trained model to cameras with very different fields of view (FoV), including fisheye and 360-degree cameras. It is trained only on perspective images, and the paper says it needs no specialized training data for those cameras.

The central idea is a shared image format: images from every camera type are converted into Equi-Rectangular Projection (ERP) space during both training and testing. Perspective training images become ERP patches through grid sampling with gnomonic projection, and a pitch-aware version places them at different latitudes to simulate the distorted regions that only large-FoV cameras see. A FoV alignment step normalizes training samples to one predefined ERP patch size, and multi-resolution training resizes each patch to two lower resolutions, typically 0.7 and 0.4 of the original.

The framework is not tied to one network; the paper uses iDisc for its cross-attention and self-attention modules and trains with the SIlog loss. Depth is predicted as Euclidean distance from the camera center rather than Z-buffer depth, which the paper notes is incompatible with spherical projections. The paper reports up to a 50% improvement in δ1 accuracy on indoor fisheye and 360-degree datasets in zero-shot tests on Matterport3D, Pano3D-GV2, ScanNet++ and KITTI360.

Key idea. DAC converts images from any camera into a shared ERP space so a metric depth model trained only on perspective images can handle fisheye and 360-degree cameras.

  • depth any camera
  • dac
  • metric depth estimation
  • zero-shot depth
  • fisheye depth
  • 360 depth
  • panoramic depth
  • equirectangular projection
  • monocular depth estimation

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{guo2025depthcamerazeroshotmetric,
      title={Depth Any Camera: Zero-Shot Metric Depth Estimation from Any Camera}, 
      author={Yuliang Guo and Sparsh Garg and S. Mahdi H. Miangoleh and Xinyu Huang and Liu Ren},
      year={2025},
      eprint={2501.02464},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2501.02464}, 
}