Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What are the units of depth values output by the model? #209

Open
lizhiwen19900709 opened this issue Jun 27, 2024 · 2 comments
Open

What are the units of depth values output by the model? #209

lizhiwen19900709 opened this issue Jun 27, 2024 · 2 comments

Comments

@lizhiwen19900709
Copy link

What are the units of depth values output by the model?

@1ssb
Copy link
Contributor

1ssb commented Jul 7, 2024

meters

@pragathiacharya
Copy link

meters
Is the output unit of depth value in meters at below line ?

depth = depth_anything(image)

Or is it after the post processing of depth image i.e at the below line ?
https://github.com/LiheYoung/Depth-Anything/blob/1d03336771fe09c5398ffdd211441e33941a97dc/run.py#L79C9-L79C14

Because the output that we get after executing run.py is not in meters, it is in the range of [0-255] and that too it is in pixel intensity. Using the intensity we are not able to gain any meaningful information as for distance estimation we need it in any units format.
Or give me more information on scaling factors or conversion methods used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants