serialize_ocvT_serialize_ocvSerializeOcvSerializeOcvserialize_ocv (Operator)
Name
serialize_ocvT_serialize_ocvSerializeOcvSerializeOcvserialize_ocv
— Serialize an OCV tool.
Signature
def serialize_ocv(ocvhandle: HHandle) -> HHandle
Description
serialize_ocvserialize_ocvSerializeOcvSerializeOcvSerializeOcvserialize_ocv
serializes the data of an OCV tool (see
fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item
for an introduction of the basic
principle of serialization). The same data that is written in a
file by write_ocvwrite_ocvWriteOcvWriteOcvWriteOcvwrite_ocv
is converted to a serialized item.
The OCV tool is defined by the handle OCVHandleOCVHandleOCVHandleOCVHandleOCVHandleocvhandle
. The
serialized OCV tool is returned by the handle
SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle
and can be deserialized by
deserialize_ocvdeserialize_ocvDeserializeOcvDeserializeOcvDeserializeOcvdeserialize_ocv
.
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
OCVHandleOCVHandleOCVHandleOCVHandleOCVHandleocvhandle
(input_control) ocv →
HOCV, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the OCV tool.
SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle
(output_control) serialized_item →
HSerializedItem, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the serialized item.
Result
If the parameters are valid, the operator
serialize_ocvserialize_ocvSerializeOcvSerializeOcvSerializeOcvserialize_ocv
returns the value 2 (
H_MSG_TRUE)
. If
necessary, an exception is raised.
Possible Predecessors
traind_ocv_projtraind_ocv_projTraindOcvProjTraindOcvProjTraindOcvProjtraind_ocv_proj
Possible Successors
fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item
,
send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItemsend_serialized_item
,
deserialize_ocvdeserialize_ocvDeserializeOcvDeserializeOcvDeserializeOcvdeserialize_ocv
Module
OCR/OCV