I want to get a quick indication of how much of my FOV from the StereoDepth node has valid depth values.
I use this as a crude way of checking lens-coved detection, combined with correlation of downscaled frames from the various sensors. Is there a way to calculate the depth info coverage (non-zero values) on-device and share this with the host, thus eliminating the need to send the full depth frames via the already limited USB 2.0 interface (using a CM4 host)?
I thought of using the script node, but due to its lack of access to libraries such as numpy, this check might be quite operationally expensive (A LOT of for loop iterations - not one of Python's strong suits)…
I just want the node to spit out a value between 0 and 1 to the host to indicate how much depth coverage it is actually seeing?