Operator Reference

deserialize_ocvT_deserialize_ocvDeserializeOcvDeserializeOcvdeserialize_ocv (Operator)

deserialize_ocvT_deserialize_ocvDeserializeOcvDeserializeOcvdeserialize_ocv — Deserialize a serialized OCV tool.

Signature

deserialize_ocv( : : SerializedItemHandle : OCVHandle)

Herror T_deserialize_ocv(const Htuple SerializedItemHandle, Htuple* OCVHandle)

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

void HOCV::DeserializeOcv(const HSerializedItem& SerializedItemHandle)

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

void HOCV.DeserializeOcv(HSerializedItem serializedItemHandle)

def deserialize_ocv(serialized_item_handle: HHandle) -> HHandle

Description

deserialize_ocvdeserialize_ocvDeserializeOcvDeserializeOcvdeserialize_ocv deserializes an OCV tool, that was serialized by serialize_ocvserialize_ocvSerializeOcvSerializeOcvserialize_ocv (see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item for an introduction of the basic principle of serialization). The serialized OCV tool is defined by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle. 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_simpleDoOcvSimpleDoOcvSimpledo_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

SerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle (input_control)  serialized_item HSerializedItem, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the serialized item.

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

Handle of the OCV tool.

Result

If the parameters are valid, the operator deserialize_ocvdeserialize_ocvDeserializeOcvDeserializeOcvdeserialize_ocv returns the value 2 ( H_MSG_TRUE) . If necessary, an exception is raised.

Possible Predecessors

fread_serialized_itemfread_serialized_itemFreadSerializedItemFreadSerializedItemfread_serialized_item, receive_serialized_itemreceive_serialized_itemReceiveSerializedItemReceiveSerializedItemreceive_serialized_item, serialize_ocvserialize_ocvSerializeOcvSerializeOcvserialize_ocv

Possible Successors

do_ocv_simpledo_ocv_simpleDoOcvSimpleDoOcvSimpledo_ocv_simple, close_ocvclose_ocvCloseOcvCloseOcvclose_ocv

Module

OCR/OCV