ClassesClasses | | Operators

deserialize_ocr_class_cnnT_deserialize_ocr_class_cnnDeserializeOcrClassCnnDeserializeOcrClassCnn (Operator)

Name

deserialize_ocr_class_cnnT_deserialize_ocr_class_cnnDeserializeOcrClassCnnDeserializeOcrClassCnn — Deserialize a serialized CNN-based OCR classifier.

Signature

deserialize_ocr_class_cnn( : : SerializedItemHandle : OCRHandle)

Herror T_deserialize_ocr_class_cnn(const Htuple SerializedItemHandle, Htuple* OCRHandle)

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

void HOCRCnn::DeserializeOcrClassCnn(const HSerializedItem& SerializedItemHandle)

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

void HOCRCnn.DeserializeOcrClassCnn(HSerializedItem serializedItemHandle)

Description

deserialize_ocr_class_cnndeserialize_ocr_class_cnnDeserializeOcrClassCnnDeserializeOcrClassCnnDeserializeOcrClassCnn deserializes a CNN-based OCR classifier, that was serialized by serialize_ocr_class_cnnserialize_ocr_class_cnnSerializeOcrClassCnnSerializeOcrClassCnnSerializeOcrClassCnn (see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem for an introduction of the basic principle of serialization). The serialized OCR classifier is defined by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle. The deserialized values are stored in an automatically created OCR classifier with the handle OCRHandleOCRHandleOCRHandleOCRHandleOCRHandle.

Execution Information

Parameters

SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle (input_control)  serialized_item HSerializedItem, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the serialized item.

OCRHandleOCRHandleOCRHandleOCRHandleOCRHandle (output_control)  ocr_cnn HOCRCnn, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the OCR classifier.

Result

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

Possible Predecessors

fread_serialized_itemfread_serialized_itemFreadSerializedItemFreadSerializedItemFreadSerializedItem, receive_serialized_itemreceive_serialized_itemReceiveSerializedItemReceiveSerializedItemReceiveSerializedItem, serialize_ocr_class_cnnserialize_ocr_class_cnnSerializeOcrClassCnnSerializeOcrClassCnnSerializeOcrClassCnn

Possible Successors

do_ocr_single_class_cnndo_ocr_single_class_cnnDoOcrSingleClassCnnDoOcrSingleClassCnnDoOcrSingleClassCnn, do_ocr_multi_class_cnndo_ocr_multi_class_cnnDoOcrMultiClassCnnDoOcrMultiClassCnnDoOcrMultiClassCnn

Module

OCR/OCV


ClassesClasses | | Operators