Files
2026-01-16 12:30:55 -08:00

554 B

hanzo-ml-dinov2

[Depth Anything V2] is a model for Monocular Depth Estimation (MDE, i.e. just using a single image) which builds on the DINOv2 vision transformer.

This example first instantiates the DINOv2 model and then proceeds to create DepthAnythingV2 and run it.

Running an example with color map and CUDA

cargo run --features cuda,depth_anything_v2 --package hanzo-ml-examples --example depth_anything_v2 -- --color-map --image hanzo-ml-examples/examples/yolo-v8/assets/bike.jpg