deserialize_ocv — Deserialize a serialized OCV tool.
deserialize_ocv deserializes an OCV tool, that was serialized by serialize_ocv (see fwrite_serialized_item for an introduction of the basic principle of serialization). The serialized OCV tool is defined by the handle SerializedItemHandle. The deserialized values are stored in an automatically created OCV tool with the handle OCVHandle. After deserializing the tool the training can be completed for those patterns which have not been trained so far. Otherwise, a pattern comparison can be applied directly by calling do_ocv_simple.
Handle of the serialized item.
Handle of the OCV tool.
If the parameters are valid, the operator deserialize_ocv returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.
fread_serialized_item, receive_serialized_item, serialize_ocv