Operator Reference
deserialize_ocv (Operator)
deserialize_ocv — Deserialize a serialized OCV tool.
Signature
deserialize_ocv( : : SerializedItemHandle : OCVHandle)
Description
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.
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
SerializedItemHandle (input_control) serialized_item → (handle)
Handle of the serialized item.
OCVHandle (output_control) ocv → (handle)
Handle of the OCV tool.
Result
If the parameters are valid, the operator
deserialize_ocv returns the value 2 (
H_MSG_TRUE)
. If
necessary, an exception is raised.
Possible Predecessors
fread_serialized_item,
receive_serialized_item,
serialize_ocv
Possible Successors
Module
OCR/OCV