DepthAnything / Depth-Anything-V2

Depth Anything V2. A More Capable Foundation Model for Monocular Depth Estimation
https://depth-anything-v2.github.io
Apache License 2.0
2.26k stars 158 forks source link

8bit only depth #5

Open bhack opened 2 weeks ago

bhack commented 2 weeks ago

Why with all the flags combo the depth is always saved only 8bit?

https://github.com/DepthAnything/Depth-Anything-V2/blob/4417cd6ba60d7ac721d12e707e085ff43b4a6a18/run.py#L58-L73

anosci commented 2 weeks ago

I assume this is because of the 8-bit limit of a grayscale colorspace. it has caused some slight annoyances for me, where some spherical objects look like a stack of increasingly tiny pancakes. I'm curious if anyone has any workarounds for this.

bhack commented 1 week ago

I am asking this cause instead the metric one has also a full scale saver: https://github.com/DepthAnything/Depth-Anything-V2/blob/main/metric_depth%2Frun.py#L23