Hi,
I am using a SpatialDetectionNetwork. I run the mono cams at 640x400 (1.6 AR) and the color camera at 768x576 (1.33 AR) on an OAK-D Wide (OV9782 color sensor).
For reference, both of those cameras have a DFOV / HFOV / VFOV of 150° / 127° / 79.5°.
My problem: 
In the image, a trailer (maybe 20 ft away?) has been spotted beyond the hill. The trailer gets a bounding box (correctly) - so the nueral network gets an A+. The SpatialDetectionNetwork gets an F, because instead of giving that detection a location of 0, it places it just right on the hill.

Or here, where a car is spotted on the side of the FOV. The truck is clearly further than 3.6m. I don't even understand how the SpatialDetectionNetwork found any points in this box which are 3.6m away.
1) I do not undistort either of the cameras. But I assume StereoDepth probably does undistort? When the nueral network bounding box outputs (which are done on an original image) are overlayed on the undistorted depth image, would that lead to issues? (This could be impacting my truck question, where the color camera places the truck lower than on the depth image.)
2) How does it handle the difference in aspect ratio? Just a stretch? The detections come off the Nueral network as xmin ymin etc, aka fractions of a frame. It that goes right into the depth as fractions of a frame, then it should line up, regardless of my resolutions.
3) I know there is a small difference between FOV of stereo and FOV of cameras. At 3-5m, it should be 0.5 degrees of FOV lost on each side. Does SpatialDetectionNetwork account for this? Should I?
4) What is the default value of BoundingBoxScaleFactor? For these tests I was not setting it myself.