Instructions to use LibreYOLO/LibreVideoDepthAnythings-depth with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LibreYOLO
How to use LibreYOLO/LibreVideoDepthAnythings-depth with LibreYOLO:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
|
Download README.md from LibreYOLO/LibreVideoDepthAnythings-depth: direct link, hf CLI and curl.
- Browser
- Download file 1.75 kB
-
https://huggingface.co/LibreYOLO/LibreVideoDepthAnythings-depth/resolve/main/README.md
- Command line
-
hf download hf://LibreYOLO/LibreVideoDepthAnythings-depth/README.md
-
curl -L -o README.md https://huggingface.co/LibreYOLO/LibreVideoDepthAnythings-depth/resolve/main/README.md
1.75 kB
| license: apache-2.0 | |
| library_name: libreyolo | |
| pipeline_tag: depth-estimation | |
| tags: | |
| - depth-estimation | |
| - video-depth | |
| - video-depth-anything | |
| # LibreVideoDepthAnythings-depth | |
| Video Depth Anything Small (ViT-S DINOv2 encoder + temporal DPT head, 28.4M params), repackaged for LibreYOLO's `depth` task. Relative inverse depth (higher = closer), temporally consistent across the frames of a video. | |
| ## Source | |
| Converted from [depth-anything/Video-Depth-Anything-Small](https://huggingface.co/depth-anything/Video-Depth-Anything-Small) | |
| at revision `256875362cff76724b920335dfb4b29dd611f66e` (`video_depth_anything_vits.pth`). | |
| Code: [DepthAnything/Video-Depth-Anything](https://github.com/DepthAnything/Video-Depth-Anything) | |
| at commit `4f5ae23172ba60fd7bc11ef671cca678842c7072` (Apache-2.0). | |
| Copyright (2025) Bytedance Ltd. and/or its affiliates. | |
| The weights are licensed under the Apache License, Version 2.0. | |
| Chen, S., Guo, H., Zhu, S., Zhang, F., Huang, Z., Feng, J., and Kang, B. | |
| "Video Depth Anything: Consistent Depth Estimation for Super-Long Videos." CVPR 2025. | |
| ## Modifications | |
| None to the learned parameters: the upstream state dict is wrapped in LibreYOLO | |
| checkpoint metadata with unchanged keys and tensors. See | |
| `weights/convert_video_depth_anything_weights.py` in the | |
| [LibreYOLO source repository](https://github.com/LibreYOLO/libreyolo). | |
| ## Usage | |
| ```python | |
| from libreyolo import LibreYOLO | |
| model = LibreYOLO("LibreVideoDepthAnythings-depth.pt") | |
| results = model.predict("video.mp4") # one Results per frame, one shared relative scale | |
| depth = results[0].depth_map # DepthMap (H, W), higher = closer | |
| ``` | |
| ## License | |
| Apache License 2.0. | |
| See the [`LICENSE`](./LICENSE) and [`NOTICE`](./NOTICE) files in this repository. | |