Depth Any Camera: Zero-Shot Metric Depth Estimation from Any Camera

Yuliang Guo, Sparsh Garg, S. Mahdi H. Miangoleh, Xinyu Huang, Liu Ren · OpenReview

Abstract

While recent depth estimation methods exhibit strong zero-shot generalization, achieving accurate metric depth across diverse camera types—particularly those with large fields of view (FoV) such as fisheye and 360-degree cameras—remains a significant challenge. This paper presents Depth Any Camera (DAC), a powerful zero-shot metric depth estimation framework that extends a perspective-trained model to effectively handle cameras with varying FoVs. Remarkably, DAC is trained exclusively on perspective images but generalizes seamlessly to fisheye and 360-degree cameras without the need for specialized training data. DAC employs Equi-Rectangular Projection (ERP) as a unified image representation, enabling consistent processing of images with diverse FoVs. Key components include a pitch-aware Image-to-ERP conversion for efficient online augmentation, a FoV alignment operation, and multi-resolution data augmentation. DAC achieves state-of-the-art zero-shot metric depth estimation, improving delta-1 ($\delta_1$) accuracy by up to 50% on multiple fisheye and 360-degree datasets compared to prior metric depth foundation models.

Introduction

Monocular depth estimation has seen massive leaps recently, but two major hurdles remain: metric scale and camera diversity. Most current "foundation models" provide relative depth, which identifies which objects are closer but lacks absolute distance in meters. Models that do provide metric depth are often brittle, trained on standard perspective photos and failing when faced with the heavy distortions of fisheye or 360° cameras.

Depth Any Camera (DAC) generalizes across diverse camera geometries (Regular, Fisheye, 360) to produce accurate metric depth maps.

The challenge is that large Field-of-View (FoV) data is scarce and expensive to label. DAC aims to bridge this gap, allowing developers to use massive existing perspective datasets to power depth sensing on any hardware by moving away from raw pixels and into a unified geometric space.

Methodology

The core philosophy of DAC is to utilize a unified geometric representation to handle varying camera intrinsics and distortions.

Unified ERP Representation

Instead of processing raw images, DAC converts all inputs into Equi-Rectangular Projection (ERP)—the "unrolled globe" format. This provides a consistent coordinate system regardless of the original camera's lens.

Training Pipeline and Augmentation

To enable zero-shot generalization from perspective training data to wide-angle testing, DAC employs several key strategies:

  1. Pitch-Aware Image-to-ERP Conversion: Since perspective images only cover a small slice of the world, DAC uses Gnomonic projection to map these images into different "latitudes" of the ERP space. By varying the simulated "pitch" during training, the model learns to handle the specific stretching and distortion found at the poles of a 360° view.
  2. FoV Alignment: Different cameras have different zoom levels. DAC introduces a normalization step that scales training samples so they occupy a consistent "angular size" in the ERP patch, preventing the model from getting confused by varying focal lengths.
  3. Multi-Resolution Training: To ensure the model is not sensitive to image size, it is trained on multiple downsampled versions of the same patch, forcing the network to learn scale-invariant features.
The DAC pipeline: Training involves augmenting perspective samples into ERP space with FoV alignment, while inference converts any camera input to ERP for depth prediction before re-projecting to the original camera space.

Experimental Results

DAC was trained on standard perspective datasets (HM3D-tiny, Taskonomy, Hypersim for indoors; DDAD and LYFT for outdoors) and evaluated on completely different sensor types in a zero-shot manner.

Performance on Large FoV Sensors

DAC sets a new state-of-the-art for zero-shot metric depth:

  • Accuracy Gains: On indoor fisheye (ScanNet++) and 360° (Matterport3D) datasets, DAC improved the $\delta_1$ accuracy (a standard metric for depth precision) by up to 50% compared to previous leaders like Metric3Dv2 and UniDepth.
  • Robustness: Even when using a smaller backbone (ResNet101), DAC outperformed much larger models (like those based on ViT-L) when tested on non-perspective cameras.
  • Qualitative Consistency: DAC produces sharper object boundaries and more consistent depth scales across the entire 360° field of view compared to baselines that often lose scale at the edges.

Conclusion

Depth Any Camera demonstrates that baking geometric principles directly into the data pipeline is more effective for generalization than pure learning-based unwarping. By simulating the distortions of wide-angle cameras through pitch-aware ERP projection, DAC successfully extrapolates metric depth knowledge from standard perspective images to virtually any camera geometry. This framework paves the way for robust depth sensing across diverse hardware without the need for specialized, expensive wide-angle training data.

Summary updated

BibTeX
@inproceedings{guo2025depth,
  author = {Yuliang Guo and Sparsh Garg and S. Mahdi H. Miangoleh and Xinyu Huang and Liu Ren},
  title = {{Depth Any Camera: Zero-Shot Metric Depth Estimation from Any Camera}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  url = {https://openreview.net/forum?id=XEezDTwujH},
}
Figure