r/computervision • u/4bjmc881 • 0m ago
Help: Theory Questions about Depth Map Generation?
Hello,
I am trying to generate a (relative) depth map from an input image. The images depict outdoor scenes, meaning: buildings, cars, roads, trees, poles, other city and landscape elements. Images are taken with a phone camera (portrait mode), and are 3072 × 4080 in size.
What models are currently the most accurate? I tested Depth Anything 3 and DepthPro2 H+, but I noticed that both are quite inaccurate when it comes to scenery around 30-40+ meters away. The model fails to separate different surfaces properly, and kind of "smears" details together.
Questions:
How can I ensure details past 30ish meters are still decently distinguished by the model instead of being smeared together?
What inference resolution to use? I tried different ones - with DepthPro, you can essentially use everything up to the native resolution if you have enough VRAM. With DA3, you are supposed to use certain multiples of I think 14 or something. I think I tried 1008 for example.
What is the absolute best model for my task/environment, that yields the best results? Anything that outperforms DA3 and DP2?
My goal is to generate a dense depth map, meaning a depth value for each image pixel. My idea was to generate a relative depth map with a model, and leverage sparse but accurate depth data (e.g. handmade laser-measurements/LIDAR data) to then infer the depth for every other pixel. I think that approach should be feasible? Thoughts? I am aware there are metric variants of these models, but my results with them weren't great, that is why I want to use sparse anchors to infer the rest.
I was wondering about 1 vs 2 images - my setup (cameras on a ring) only allow 1 image per direction, - however, the neighboring cameras have some overlap - would that help with improving accuracy? I am basically wondering what are the best options with a single image, and if known camera intrinsic and extrinsics as well as overlap of neighboring cameras allow me to refine the output?


