I am looking to place a region of interest mask to filter out a particular shape such that depth detection won’t occur for anything outside of the shape.
I went looking through the documentation, but I am having trouble following the example, particularly creating the SL.mat object to match my dimensions. Is there an example available showing the creation of such an ROI zone in Python?
Below is an approximation of the shape I want to create, anything in black will not be detected, only the light zone.