File size: 1,751 Bytes
77ecf3e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
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.