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.57k stars 301 forks source link

Confidence #83

Open michellerybak opened 3 months ago

michellerybak commented 3 months ago

Is there a way to estimate a confidence associate with a pixel-level depth prediction?

LiheYoung commented 3 months ago

There are some basic approaches. For example, you can feed an original image and a horizontally flipped image to the model, and measure the disagreement of model predictions. This disagreement can serve as confidence. You can also measure the disagreement between different models to probe the difficulty of the sample. You may refer to the research area of uncertainty estimation for regression tasks.