Skip to main content

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

Panorama Seam Blending

ERP panoramas wrap horizontally, but CNN padding can introduce a visible seam at the left/right boundary. By default, panodac applies a Poisson-based seam correction when a panorama is detected.

import panodac

# Default: seam correction enabled for panoramas
depth = panodac.predict("panorama.jpg")

# Disable seam correction if you want raw output
depth_raw = panodac.predict("panorama.jpg", fix_panorama_seam=False)

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

Metadata

Release files for panodac 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for panodac 0.1.1
File Size Uploaded Provenance Actions
panodac-0.1.1.tar.gz 12.9 MB With provenance Details for panodac-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for panodac 0.1.1
File Interpreter ABI Platform Actions
panodac-0.1.1-py3-none-any.whl Python 3 none any Details for panodac-0.1.1-py3-none-any.whl

Total release size: 13.0 MB

Release files / panodac-0.1.1.tar.gz

Download URL panodac-0.1.1.tar.gz
Size 12.9 MB
Tags Source
SHA-256 checksum
How to use checksums
74af8e9f41eb9a3a28e7aa010bc512ce5cc9f0dc1efe3f6ea9efffb738f6b215
BLAKE2b-256 checksum
How to use checksums
c718b144fa76b14957687f9a028ddd4fde3fd09acabd64d50663c3b1a8df4a89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 21, 2026.

Transparency log

Release files / panodac-0.1.1-py3-none-any.whl

Download URL panodac-0.1.1-py3-none-any.whl
Size 38.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5ded8698f7484b10b0d5fa333300fe459226e20de58363ea7b4608e74de8224b
BLAKE2b-256 checksum
How to use checksums
1e55a92ed96a26d9fc42c05f2fd57b02a370f0a9edc5a137b191f699a6d364a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 21, 2026.

Transparency log

Security for panodac 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for panodac-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 21, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page