onnx-community / depth-anything-v2-small

huggingface.co
Total runs: 104.0K
24-hour runs: 1.9K
7-day runs: 14.9K
30-day runs: 38.9K
Model's Last Updated: April 14 2026
depth-estimation

Introduction of depth-anything-v2-small

Model Details of depth-anything-v2-small

https://huggingface.co/depth-anything/Depth-Anything-V2-Small 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-small .

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

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

// 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-small on huggingface.co

104.0K
Total runs
1.9K
24-hour runs
5.5K
3-day runs
14.9K
7-day runs
38.9K
30-day runs

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

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

https://choosealicense.com/licenses/apache-2.0

depth-anything-v2-small huggingface.co

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

depth-anything-v2-small huggingface.co Url

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

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

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

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

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

depth-anything-v2-small install

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

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

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

Url of depth-anything-v2-small

depth-anything-v2-small huggingface.co Url

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

onnx-community
ORGANIZATIONS

Other API from onnx-community