Convert OpenCV calibration file to .conf file


I’m using ZED X Mini underwater, I did calibration following this How to Calibrate your ZED camera with OpenCV - Stereolabs . Got the YAML calib file as in the tutorial. But how can I apply the file into depth sensing? How can I convert YAML file into .conf to apply globally for SDK?

Thank you.

Hi @linh.nguyen
Welcome to the Stereolabs community.

You can use the parameter optional_opencv_calibration_file of the InitParameters structure to directly use the OpenCV calibration file.

1 Like

Thank you for pointing it out. Exactly what I’m looking for.

1 Like