Operator Reference

serialize_ocvT_serialize_ocvSerializeOcvSerializeOcvserialize_ocv (Operator)

serialize_ocvT_serialize_ocvSerializeOcvSerializeOcvserialize_ocv — Serialize an OCV tool.

Signature

serialize_ocv( : : OCVHandle : SerializedItemHandle)

Herror T_serialize_ocv(const Htuple OCVHandle, Htuple* SerializedItemHandle)

void SerializeOcv(const HTuple& OCVHandle, HTuple* SerializedItemHandle)

HSerializedItem HOCV::SerializeOcv() const

static void HOperatorSet.SerializeOcv(HTuple OCVHandle, out HTuple serializedItemHandle)

HSerializedItem HOCV.SerializeOcv()

def serialize_ocv(ocvhandle: HHandle) -> HHandle

Description

serialize_ocvserialize_ocvSerializeOcvSerializeOcvserialize_ocv serializes the data of an OCV tool (see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item for an introduction of the basic principle of serialization). The same data that is written in a file by write_ocvwrite_ocvWriteOcvWriteOcvwrite_ocv is converted to a serialized item. The OCV tool is defined by the handle OCVHandleOCVHandleOCVHandleOCVHandleocvhandle. The serialized OCV tool is returned by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle and can be deserialized by deserialize_ocvdeserialize_ocvDeserializeOcvDeserializeOcvdeserialize_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

OCVHandleOCVHandleOCVHandleOCVHandleocvhandle (input_control)  ocv HOCV, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the OCV tool.

SerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_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_ocvSerializeOcvSerializeOcvserialize_ocv returns the value 2 ( H_MSG_TRUE) . If necessary, an exception is raised.

Possible Predecessors

traind_ocv_projtraind_ocv_projTraindOcvProjTraindOcvProjtraind_ocv_proj

Possible Successors

fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item, send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemsend_serialized_item, deserialize_ocvdeserialize_ocvDeserializeOcvDeserializeOcvdeserialize_ocv

Module

OCR/OCV