File size: 757 Bytes
f25b717
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
"""
DepthPro Wrapper — Image to Point Cloud

A clean, high-level Python wrapper around Apple's DepthPro model on
HuggingFace. Drop an image in → get a metric depth map and a 3D point
cloud out.

DepthPro is a zero-shot metric depth estimator (arXiv:2410.02073) that
predicts absolute-scale depth and camera focal length from a single RGB
image, without any per-scene training or known intrinsics.
"""

__version__ = "0.1.0"

from .depth_estimator import DepthProEstimator, DepthResult
from .point_cloud import depth_to_point_cloud, rgbd_to_point_cloud
from .io import load_image, save_point_cloud

__all__ = [
    "DepthProEstimator",
    "DepthResult",
    "depth_to_point_cloud",
    "rgbd_to_point_cloud",
    "load_image",
    "save_point_cloud",
]