Flexible baseline stereo

Hello,

I have a stereo vision application where the camera baseline is flexible and changes during operation. I have methods to estimate the baseline continuously, but can not see methods in the Zed SDK to set the extrinsics calibration at runtime. Is there a way to do this?

Hi @andrwr_rev
Welcome to the Stereolabs community.

Unfortunately, the ZED SDK does not support dynamic baseline modifications because the depth processing parameters are initialised once when the camera is opened, and the calibration parameters are loaded from the calibration file.

The only available workaround is to modify the content of the calibration file, close the camera, and then reopen it.
This will force a full re-initialisation with the new baseline.

@Myzhar thank you for the quick response. Is dynamic extrinsics recalibration a feature that could be added to the SDK?

It’s not currently on the roadmap, but if the number of requests increases, we may consider adding this feature.