NewsCrawler.org

Apple releases Depth Pro 2, a model for sharp metric depth from ordinary cameras

Apple releases Depth Pro 2, a model for sharp metric depth from ordinary cameras
Boundary sharpness against temporal consistency for Depth Pro 2 and prior single-frame and multi-frame methods
Depth Pro 2 on photos: the inputs on top, their predicted depth below
Depth Pro 2's architecture: a multi-view transformer over the input frames, then a DPT decoder per frame
Image: Reddit

Update · : The official repository gives the installation and run commands (uv, depth-pro-2 predict on Linux or Apple silicon Macs) and says the default model is H+ at 3.5 GB, with S at 97 MB as a lighter option. It states that the code runs on NVIDIA CUDA, Apple silicon MPS or CPU, and that the release contains inference code and weights but no training or evaluation code.

Apple has published Depth Pro 2, a model that estimates metric monocular depth[1] for every pixel of an image from an ordinary camera. It works on a single photo, a whole video or a live feed, at the input's full resolution, and its depth is sharp at object edges and steady from frame to frame.

The model comes in four sizes (S, B, L and H), each in its own repository. Larger sizes give sharper and steadier depth, while smaller ones run faster. All sizes share a focal length[2] estimator, apple/DepthPro2-focal, which has 23.5M parameters and 94 MB and predicts the focal length when it is unknown.

According to the source, Depth Pro 2 outperforms prior work that operates on one or more frames on sharpness (Boundary F1 score) and temporal consistency (Jitter), with results averaged over the Sintel and Spring datasets. A multi-view transformer processes one or more frames jointly, and a DPT decoder[3] predicts an inverse depth map for each frame. The weights are released under the Apple Machine Learning Research Model license, for non-commercial scientific research and academic development only.

Read the original huggingface.coDiscussion

Sources

  • huggingface.co

    Author: u/JLeonsarmiento

    apple/DepthPro2 · Hugging Face

    26 comments

  • Hugging Face

    apple/DepthPro2

    1,086 likes0 downloads

  • github.com new source ·

    GitHub - apple-aiml-research/ml-depth-pro-2: Depth Pro 2: Sharp and Temporally Consistent Metric Monocular Depth

    3 mentions2 communities1 country

Published: First seen: Updated: Читать по-русски

Open as a page