Virtual Zed X One calibration fails: segmentation fault

Hi,

We are trying to calibrate a virtual Zed X One stereo setup using the OpenCV tool. When launching the tool with ./zed_stereo_calibration --h_edges 12 --v_edges 8 --square_size 32 --left_id 0 --right_id 1 --virtual, we get the response:

*** Stereo Camera Calibration Tool ***

The calibration process requires a checkerboard of known characteristics.
 * Expected checkerboard features:
   - Inner horizontal edges:    12
   - Inner vertical edges:      8
   - Square size:               32 mm
Change these parameters using the command line options if needed. Use the '-h' option for help.

 * Lens distorsion model: Radial-Tangential
 * Virtual Stereo Camera mode enabled.
Using camera IDs for left and right cameras: 0, 1
 * Unique Virtual SN: 116170631 (Generated by the ZED SDK)
 * ZED X One GS Virtual Stereo Camera detected.
 * Camera Model: Virtual ZED-X
 * Camera Serial Number: 116170631
 * Camera Resolution: 1920 x 1200
 * Using prior calibration: No
Segmentation fault (core dumped)

Any advice?

Hi @andrwr_rev
What’s your setup?

  • ZED SDK version
  • ZED X Driver version
  • OpenCV version

SDK: 5.1

Driver: 1.4.0

OpenCV: 4.8.0

One update though. When we reverted to SDK 5.1, the calibration program opens successfully.

Another issue: in the OpenCV calibration tool, the Calibration Checker is instantiated before the argparsing. So parameters such as v_edges and h_edges are locked to the default, hardcoded values. Results in every sample being rejected if a custom checkerboard is used