When I'm using 720P mono cam resolution, link to stereo then link to yolospatialnetwork, the passthroughDepth output is good.
But when I turn to 400P mono cam resolution, it seems like no passthroughDepth comes out.
BTW, I aligned stereo to RGB cam
stereo.setDepthAlign(dai.CameraBoardSocket.CAM_A)
And my RGB cam resolution is 1080P, I cropped it into 320*320 then link to yolospatialnetwork, I have no idea about whether it will affact the stereo or not.