deserialize_ocvT_deserialize_ocvDeserializeOcvDeserializeOcv (Operator)
Name
deserialize_ocvT_deserialize_ocvDeserializeOcvDeserializeOcv
— Deserialize a serialized OCV tool.
Signature
Description
deserialize_ocvdeserialize_ocvDeserializeOcvDeserializeOcvDeserializeOcv
deserializes an OCV tool, that was serialized
by serialize_ocvserialize_ocvSerializeOcvSerializeOcvSerializeOcv
(see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem
for an
introduction of the basic principle of serialization). The
serialized OCV tool is defined by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle
.
The deserialized values are stored in an automatically created
OCV tool with the handle OCVHandleOCVHandleOCVHandleOCVHandleOCVHandle
. 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_simpledo_ocv_simpleDoOcvSimpleDoOcvSimpleDoOcvSimple
.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle
(input_control) serialized_item →
HSerializedItem, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the serialized item.
OCVHandleOCVHandleOCVHandleOCVHandleOCVHandle
(output_control) ocv →
HOCV, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the OCV tool.
Result
If the parameters are valid, the operator
deserialize_ocvdeserialize_ocvDeserializeOcvDeserializeOcvDeserializeOcv
returns the value 2 (H_MSG_TRUE). If
necessary, an exception is raised.
Possible Predecessors
fread_serialized_itemfread_serialized_itemFreadSerializedItemFreadSerializedItemFreadSerializedItem
,
receive_serialized_itemreceive_serialized_itemReceiveSerializedItemReceiveSerializedItemReceiveSerializedItem
,
serialize_ocvserialize_ocvSerializeOcvSerializeOcvSerializeOcv
Possible Successors
do_ocv_simpledo_ocv_simpleDoOcvSimpleDoOcvSimpleDoOcvSimple
,
close_ocvclose_ocvCloseOcvCloseOcvCloseOcv
Module
OCR/OCV