isl-org / MiDaS

Code for robust monocular depth estimation described in "Ranftl et. al., Towards Robust Monocular Depth Estimation: Mixing Datasets for Zero-shot Cross-dataset Transfer, TPAMI 2022"
MIT License
4.47k stars 620 forks source link

get distance from the depth map for Android Phones #125

Open letdivedeep opened 3 years ago

letdivedeep commented 3 years ago

Hi @ranftlr

Thanks for the wonderful work.

In the context of getting the absolute depth map, I followed these issues 42 25, 4

From this, I understood that in order to get the absolute depth maps, we need to know the absolute depth of at least two pixels in the image.

if I have an Android app:

that captures the photo. Infer through MiDas tflite model generate depth map

So as we don't know the distances of the two pixels in images ( no ground truth image.) we can't get the absolute depth map.

So how to deal with this situation?

ranftlr commented 3 years ago

We currently don't know a good way to recover absolute depth without external measurements.