Depth sensing minimum distance

Hello!
I don’t seem to be figuring out how to work with the depth_minimum_distance functionality.

I’m defining this on my project:

    init_parameters.coordinate_units = UNIT::METER;
    init_parameters.depth_minimum_distance = 0.15;
    init_parameters.camera_resolution = RESOLUTION::HD1080;

And the output I’m getting a really small window:
(You can see a small square on the camera root)
image

Am I missing anything?

Thanks!

Hi @Rengo
depth_minimum_distance sets the minimum depth value available in the depth map.
All the measured depth values below this threshold are set to -inf.
https://www.stereolabs.com/docs/api/structsl_1_1InitParameters.html#a115c93ba994ec7b5c853375d647a936e