Hello Luxonis Support,
We use an OAK4 to determine workpiece height for label application. When stacking test pieces closer to the camera, the height calculated from background-to-object depth differences tends to become larger than the measured stack height.
Environment: OAK4-D-PRO-AF, Luxonis OS 1.45.0, DepthAI 3.10.0, StereoDepth 640 x 400, Extended Disparity ON, P1/P2=20/40 with adaptive penalties OFF, Dot 0.9.
We captured a background and 15 stack heights from 10.05 to 154.9 mm. Examples:
Measured stack height Depth-derived height Difference
10.05 mm 9.0 mm -1.05 mm
83.0 mm 89.0 mm +6.0 mm
144.5 mm 152.0 mm +7.5 mm
154.9 mm 162.0 mm +7.1 mm
The bias does not increase monotonically at every step; the complete table is attached. These heights were calculated from the central workpiece region in RGB-aligned depth. The measured background depth was approximately 522 mm, but its absolute distance was not independently surveyed. This therefore shows a background-relative height discrepancy, rather than a confirmed absolute-distance error.
Is this range-dependent behavior expected with this configuration? Please advise how to identify the cause, what accuracy we should expect at these distances, and whether calibration, parameter changes or a software fix could improve it. Please specify any additional measurements needed.
The ZIP contains the 15-level results, processed depth arrays used to reproduce those results, and representative original images for the background and the four levels above, with camera settings and calibration.
Thank you.