ZoeDepth icon indicating copy to clipboard operation
ZoeDepth copied to clipboard

How to extract the values of the depth map?

Open EricJi150 opened this issue 1 year ago • 2 comments

I am using the Gradio UI to generate a depth map. Is there any way to extract the values of the depths themselves or is the only possible output of another grayscaled image?

EricJi150 avatar May 22 '23 21:05 EricJi150

The value of gray is the estimated depth itself if I'm not mistaken. You can just parse just image if you watn the value of a specific pixel. There is the raw one which gives exactly the value, and the grayscale that rescale it on 0-255

Sivloc avatar Jun 16 '23 12:06 Sivloc

The value of gray is the estimated depth itself if I'm not mistaken. You can just parse just image if you watn the value of a specific pixel. There is the raw one which gives exactly the value, and the grayscale that rescale it on 0-255

Which function should I choose to get the real distance in the world? Maybe the output of demo is only the relative depth.

GinRawin avatar Dec 04 '23 12:12 GinRawin