Downloads · 30 days
532
19% of all-time downloads
Acly/Depth-Anything-V2-GGUF
Depth-Anything-V2-GGUF is a depth estimation model from Acly. Use it for the depth estimation task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
Depth-Anything is a model for monocular depth estimation. The weights in this repository are converted for lightweight inference on consumer hardware with vision.cpp.
Downloads · 30 days
532
19% of all-time downloads
All-time downloads
2.7K
Public
Repo size
921 MB
Likes
1
Public
Click a slice to open those files.
.gguf921 MB · 100%
From the Hugging Face model README
Depth-Anything is a model for monocular depth estimation. The weights in this repository are converted for lightweight inference on consumer hardware with vision.cpp.
Example inference with vision.cpp:
vision-cli depth-anything -m Depth-Anything-V2-Small-F16.gguf -i input.png -o depth.png
image_data image = image_load("input.png");
backend_device device = backend_init();
depthany_model model = depthany_load_model("Depth-Anything-V2-Small-F16.gguf", device);
image_data depth = depthany_compute(model, image);
image_data output = image_f32_to_u8(depth, image_format::alpha_u8);
image_save(output, "depth.png");