serialize_calib_data — Serialize a calibration data model.
serialize_calib_data serializes the data of a calibration data model (see fwrite_serialized_item for an introduction of the basic principle of serialization). The same data that is written in a file by write_calib_data is converted to a serialized item. The calibration data model is defined by the handle CalibDataID. The serialized calibration data model is returned by the handle SerializedItemHandle and can be deserialized by deserialize_calib_data.
Note that no calibration results are serialized. You can access them with the operator get_calib_data, either as individual items or in form of a camera setup model and store them separately.
A camera calibration data model CalibDataID cannot be shared between two or more user's threads. Different camera calibration data models can be used independently and safely in different threads.
Handle of a calibration data model.
Handle of the serialized item.
If the parameters are valid, the operator serialize_calib_data returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.
fwrite_serialized_item, send_serialized_item, deserialize_calib_data