ZoeDepth
ZoeDepth copied to clipboard
depth contour does not match the object
Thank you for your excellent work!
And I have a question.
As what is shown in the following images,
it seems that depth contour does not match the RGB image, extending pixels beyond the outer edge of the objects (indicated by the green poly-line).
I don't know why and how to restore the depth.
Thank you for your attention.
Just guessing here , but the models are working on something like 512x512 (and that is considered big). So whatever image you feed it, gets downscaled, you get a depth with matching resolution, and that's upscaled again to your original input size.
That's why the edges will never be perfect.
When you try splitting the image, you'll see that each image will have a different exposure/contrast. The depth scale isn't exactly the same (although Zoe's raw output can make it a lot closer ).
So upscale the output in a fancier way or split the input image , but there is some work involved.