Operator Reference

deserialize_ocr_class_mlpT_deserialize_ocr_class_mlpDeserializeOcrClassMlpDeserializeOcrClassMlpdeserialize_ocr_class_mlp (Operator)

deserialize_ocr_class_mlpT_deserialize_ocr_class_mlpDeserializeOcrClassMlpDeserializeOcrClassMlpdeserialize_ocr_class_mlp — Deserialize a serialized MLP-based OCR classifier.

Signature

deserialize_ocr_class_mlp( : : SerializedItemHandle : OCRHandle)

Herror T_deserialize_ocr_class_mlp(const Htuple SerializedItemHandle, Htuple* OCRHandle)

void DeserializeOcrClassMlp(const HTuple& SerializedItemHandle, HTuple* OCRHandle)

void HOCRMlp::DeserializeOcrClassMlp(const HSerializedItem& SerializedItemHandle)

static void HOperatorSet.DeserializeOcrClassMlp(HTuple serializedItemHandle, out HTuple OCRHandle)

void HOCRMlp.DeserializeOcrClassMlp(HSerializedItem serializedItemHandle)

def deserialize_ocr_class_mlp(serialized_item_handle: HHandle) -> HHandle

Description

deserialize_ocr_class_mlpdeserialize_ocr_class_mlpDeserializeOcrClassMlpDeserializeOcrClassMlpdeserialize_ocr_class_mlp deserializes a MLP-based OCR classifier, that was serialized by serialize_ocr_class_mlpserialize_ocr_class_mlpSerializeOcrClassMlpSerializeOcrClassMlpserialize_ocr_class_mlp (see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item for an introduction of the basic principle of serialization). The serialized OCR classifier is defined by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle. The deserialized values are stored in an automatically created OCR classifier with the handle OCRHandleOCRHandleOCRHandleOCRHandleocrhandle.

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.

OCRHandleOCRHandleOCRHandleOCRHandleocrhandle (output_control)  ocr_mlp HOCRMlp, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the OCR classifier.

Result

If the parameters are valid, the operator deserialize_ocr_class_mlpdeserialize_ocr_class_mlpDeserializeOcrClassMlpDeserializeOcrClassMlpdeserialize_ocr_class_mlp 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_ocr_class_mlpserialize_ocr_class_mlpSerializeOcrClassMlpSerializeOcrClassMlpserialize_ocr_class_mlp

Possible Successors

do_ocr_single_class_mlpdo_ocr_single_class_mlpDoOcrSingleClassMlpDoOcrSingleClassMlpdo_ocr_single_class_mlp, do_ocr_multi_class_mlpdo_ocr_multi_class_mlpDoOcrMultiClassMlpDoOcrMultiClassMlpdo_ocr_multi_class_mlp

See also

create_ocr_class_mlpcreate_ocr_class_mlpCreateOcrClassMlpCreateOcrClassMlpcreate_ocr_class_mlp, write_ocr_class_mlpwrite_ocr_class_mlpWriteOcrClassMlpWriteOcrClassMlpwrite_ocr_class_mlp, read_class_mlpread_class_mlpReadClassMlpReadClassMlpread_class_mlp, write_class_mlpwrite_class_mlpWriteClassMlpWriteClassMlpwrite_class_mlp, serialize_ocr_class_mlpserialize_ocr_class_mlpSerializeOcrClassMlpSerializeOcrClassMlpserialize_ocr_class_mlp

Module

OCR/OCV