TRI-ML / packnet-sfm

TRI-ML Monocular Depth Estimation Repository
https://tri-ml.github.io/packnet-sfm/
MIT License
1.21k stars 241 forks source link

Adding a distance bar in meter #225

Open luda1013 opened 2 years ago

luda1013 commented 2 years ago

Hallo all,

i used pretrained model in infer.py to generate depth map/images for my dataset. in my dataset there is image for 'calibration' like we took a photo for 2 stones with 10 meter distance.

From the output i want to add a scale factor in meter or a scalar bar based on the depth colour.

how can i get that? what do i need to add in infer.py?

Thanks so much for the help!

example from 1 output image 000000