DepthAnything / Depth-Anything-V2

[NeurIPS 2024] Depth Anything V2. A More Capable Foundation Model for Monocular Depth Estimation
https://depth-anything-v2.github.io
Apache License 2.0
3.79k stars 321 forks source link

Metric Depth Scale Issue #147

Open LaFeuilleMorte opened 2 months ago

LaFeuilleMorte commented 2 months ago

Hi, thanks for open source this brilliant work. I was using your metric depth demo, but I found that the predicted depth seemed to vary with given max depth linearly. How can I determine which max depth value to use in my case?

LiheYoung commented 1 month ago

If you are using our provided metric depth models, the max_depth of the indoor and outdoor models are 20 and 80, respectively. If you are training your own metric depth models on your own data, you should define it as the max value in all your ground-truth depth maps.