onnx-community / depth-anything-v2-base

huggingface.co
Total runs: 839
24-hour runs: 15
7-day runs: 61
30-day runs: -77
Model's Last Updated: April 14 2026
depth-estimation

Introduction of depth-anything-v2-base

Model Details of depth-anything-v2-base

https://huggingface.co/depth-anything/Depth-Anything-V2-Base with ONNX weights to be compatible with Transformers.js.

Usage (Transformers.js)

If you haven't already, you can install the Transformers.js JavaScript library from NPM using:

npm i @xenova/transformers

Example: Depth estimation w/ onnx-community/depth-anything-v2-base .

import { pipeline } from '@xenova/transformers';

// Create depth estimation pipeline
const depth_estimator = await pipeline('depth-estimation', 'onnx-community/depth-anything-v2-base');

// Predict depth of an image
const url = 'https://huggingface.co/datasets/Xenova/transformers.js-docs/resolve/main/cats.jpg';
const { depth } = await depth_estimator(url);

// Visualize the output
depth.save('depth.png');

image/png


Note: Having a separate repo for ONNX weights is intended to be a temporary solution until WebML gains more traction. If you would like to make your models web-ready, we recommend converting to ONNX using 🤗 Optimum and structuring your repo like this one (with ONNX weights located in a subfolder named onnx ).

Runs of onnx-community depth-anything-v2-base on huggingface.co

839
Total runs
15
24-hour runs
42
3-day runs
61
7-day runs
-77
30-day runs

More Information About depth-anything-v2-base huggingface.co Model

More depth-anything-v2-base license Visit here:

https://choosealicense.com/licenses/cc-by-nc-4.0

depth-anything-v2-base huggingface.co

depth-anything-v2-base huggingface.co is an AI model on huggingface.co that provides depth-anything-v2-base's model effect (), which can be used instantly with this onnx-community depth-anything-v2-base model. huggingface.co supports a free trial of the depth-anything-v2-base model, and also provides paid use of the depth-anything-v2-base. Support call depth-anything-v2-base model through api, including Node.js, Python, http.

onnx-community depth-anything-v2-base online free

depth-anything-v2-base huggingface.co is an online trial and call api platform, which integrates depth-anything-v2-base's modeling effects, including api services, and provides a free online trial of depth-anything-v2-base, you can try depth-anything-v2-base online for free by clicking the link below.

onnx-community depth-anything-v2-base online free url in huggingface.co:

https://huggingface.co/onnx-community/depth-anything-v2-base

depth-anything-v2-base install

depth-anything-v2-base is an open source model from GitHub that offers a free installation service, and any user can find depth-anything-v2-base on GitHub to install. At the same time, huggingface.co provides the effect of depth-anything-v2-base install, users can directly use depth-anything-v2-base installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

depth-anything-v2-base install url in huggingface.co:

https://huggingface.co/onnx-community/depth-anything-v2-base

Url of depth-anything-v2-base

depth-anything-v2-base huggingface.co Url

Provider of depth-anything-v2-base huggingface.co

onnx-community
ORGANIZATIONS

Other API from onnx-community