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
3.39k stars 277 forks source link

Question about online demo. #1

Closed Lzshanshan closed 3 months ago

Lzshanshan commented 3 months ago

Hello,

Thanks for this amazing work! When I downloaded the 16-bit raw output and wanted to convert it to 3D point cloud, I noticed that it can be considered as disparity. Is the following operation to take the inverse of data and then scale it?

When scaling it, can I use the corresponding raw depth map that is along with the input RGB image?

Thanks for your time and patience.

Zhenshan

LiheYoung commented 3 months ago

Hi, if you want to convert the image to point clouds, you can try our metric depth models and the depth_to_pointcloud.py in it