Plug-and-play metric depth estimation for any camera (perspective, fisheye, 360°). Based on Depth Any Camera (CVPR 2025).
Project description
panodac
Metric depth estimation for any camera. Perspective, fisheye, 360° panorama.
Based on Depth Any Camera (CVPR 2025).
Installation
pip install panodac
Usage
import panodac
depth = panodac.predict("photo.jpg")
# depth is a numpy array (H, W) with metric depth in meters
Models
| Model | Use Case | Speed | Quality |
|---|---|---|---|
outdoor-resnet101 |
Outdoor | Fast | Good |
outdoor-swinl |
Outdoor | Slow | Best |
indoor-resnet101 |
Indoor | Fast | Good |
indoor-swinl |
Indoor | Slow | Best |
Models auto-download from HuggingFace on first use (~500MB each).
# Use a specific model
depth = panodac.predict("panorama.jpg", model="outdoor-swinl")
# List available models
print(panodac.list_models())
# ['outdoor-resnet101', 'outdoor-swinl', 'indoor-resnet101', 'indoor-swinl']
Documentation
See yz3440.github.io/panodac for full API reference and examples.
Credits
Based on Depth Any Camera (DAC) by Yuliang Guo et al.
@article{guo2025depthany,
title={Depth Any Camera: Zero-Shot Metric Depth Estimation from Any Camera},
author={Guo, Yuliang and Garg, Sparsh and Ren, Xuan and ElSayed, Mohamed and Guizilini, Vitor},
journal={CVPR},
year={2025},
}
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file panodac-0.1.0.tar.gz.
File metadata
- Download URL: panodac-0.1.0.tar.gz
- Upload date:
- Size: 4.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2cf827201909ae54a59e3d1d0695d081e2096a2d0bbaac6af39c62b3b11628c8
|
|
| MD5 |
b20b521d1028665567d065c8f734ccda
|
|
| BLAKE2b-256 |
5c55c186e8487c2eda8573accbe3a69c2ce99293c0f5b5e1421e8ff84579b6a9
|
Provenance
The following attestation bundles were made for panodac-0.1.0.tar.gz:
Publisher:
publish.yml on yz3440/panodac
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
panodac-0.1.0.tar.gz -
Subject digest:
2cf827201909ae54a59e3d1d0695d081e2096a2d0bbaac6af39c62b3b11628c8 - Sigstore transparency entry: 841577712
- Sigstore integration time:
-
Permalink:
yz3440/panodac@308fae1d082f2756e16e6bbbd42874bbd080100c -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/yz3440
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@308fae1d082f2756e16e6bbbd42874bbd080100c -
Trigger Event:
release
-
Statement type:
File details
Details for the file panodac-0.1.0-py3-none-any.whl.
File metadata
- Download URL: panodac-0.1.0-py3-none-any.whl
- Upload date:
- Size: 34.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c6a47bfaa11e17bfef4c61d5cce6e8153683619b7f421405be2388432c4d7c2
|
|
| MD5 |
ea8843618ad876f51fc32299fa13d5ee
|
|
| BLAKE2b-256 |
f8c533c11ec219026d5386c97402988bee2d261ec82fd649eb954b14289341ca
|
Provenance
The following attestation bundles were made for panodac-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on yz3440/panodac
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
panodac-0.1.0-py3-none-any.whl -
Subject digest:
0c6a47bfaa11e17bfef4c61d5cce6e8153683619b7f421405be2388432c4d7c2 - Sigstore transparency entry: 841577730
- Sigstore integration time:
-
Permalink:
yz3440/panodac@308fae1d082f2756e16e6bbbd42874bbd080100c -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/yz3440
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@308fae1d082f2756e16e6bbbd42874bbd080100c -
Trigger Event:
release
-
Statement type: