Depth sensing minimum distance

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)

Am I missing anything?


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.