deserialize_ocvT_deserialize_ocvDeserializeOcvDeserializeOcvdeserialize_ocv (Operator)
Name
deserialize_ocvT_deserialize_ocvDeserializeOcvDeserializeOcvdeserialize_ocv
— Deserialize a serialized OCV tool.
Signature
Description
deserialize_ocvdeserialize_ocvDeserializeOcvDeserializeOcvDeserializeOcvdeserialize_ocv
deserializes an OCV tool, that was serialized
by serialize_ocvserialize_ocvSerializeOcvSerializeOcvSerializeOcvserialize_ocv
(see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item
for an
introduction of the basic principle of serialization). The
serialized OCV tool is defined by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle
.
The deserialized values are stored in an automatically created
OCV tool with the handle OCVHandleOCVHandleOCVHandleOCVHandleOCVHandleocvhandle
. 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_simpleDoOcvSimpleDoOcvSimpleDoOcvSimpledo_ocv_simple
.
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
SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle
(input_control) serialized_item →
HSerializedItem, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the serialized item.
OCVHandleOCVHandleOCVHandleOCVHandleOCVHandleocvhandle
(output_control) ocv →
HOCV, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the OCV tool.
Result
If the parameters are valid, the operator
deserialize_ocvdeserialize_ocvDeserializeOcvDeserializeOcvDeserializeOcvdeserialize_ocv
returns the value 2 (
H_MSG_TRUE)
. If
necessary, an exception is raised.
Possible Predecessors
fread_serialized_itemfread_serialized_itemFreadSerializedItemFreadSerializedItemFreadSerializedItemfread_serialized_item
,
receive_serialized_itemreceive_serialized_itemReceiveSerializedItemReceiveSerializedItemReceiveSerializedItemreceive_serialized_item
,
serialize_ocvserialize_ocvSerializeOcvSerializeOcvSerializeOcvserialize_ocv
Possible Successors
do_ocv_simpledo_ocv_simpleDoOcvSimpleDoOcvSimpleDoOcvSimpledo_ocv_simple
,
close_ocvclose_ocvCloseOcvCloseOcvCloseOcvclose_ocv
Module
OCR/OCV