Calibrate ZED Mini X for underwater tasks

Hi

I’m working with a ZED Mini X camera placed inside a custom underwater housing for a robotics task. I attempted to calibrate it using the standard OpenCV camera calibration (opencv/samples/cpp/stereo_calib.cpp at master · opencv/opencv · GitHub), but the results are poor and don’t seem to capture the distortions introduced by the housing + water interface.

From my understanding, the default OpenCV calibration might be better suited for in-air pinhole models, and may not account for the refraction effects I’m seeing underwater.

Are there any tips, tools, or scripts you’d recommend for this case? Any references or libraries that handle this more robustly?

Hi @ptest

How are you applying the custom calibration?
Please share your code or the process that you are using.