deserialize_ocrT_deserialize_ocrDeserializeOcrDeserializeOcr (Operator)

Name

deserialize_ocrT_deserialize_ocrDeserializeOcrDeserializeOcr — Deserialize a serialized OCR classifier.

Warning

deserialize_ocrdeserialize_ocrDeserializeOcrDeserializeOcrDeserializeOcr is obsolete and is only provided for reasons of backward compatibility. New applications should use the MLP, SVM or CNN based operators instead.

Signature

deserialize_ocr( : : SerializedItemHandle : OcrHandle)

Herror T_deserialize_ocr(const Htuple SerializedItemHandle, Htuple* OcrHandle)

void DeserializeOcr(const HTuple& SerializedItemHandle, HTuple* OcrHandle)

void HOCRBox::DeserializeOcr(const HSerializedItem& SerializedItemHandle)

static void HOperatorSet.DeserializeOcr(HTuple serializedItemHandle, out HTuple ocrHandle)

void HOCRBox.DeserializeOcr(HSerializedItem serializedItemHandle)

Description

deserialize_ocrdeserialize_ocrDeserializeOcrDeserializeOcrDeserializeOcr deserializes an OCR classifier, that was serialized by serialize_ocrserialize_ocrSerializeOcrSerializeOcrSerializeOcr (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_box HOCRBox, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

ID of the OCR classifier.

Result

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

Possible Predecessors

reset_obj_dbreset_obj_dbResetObjDbResetObjDbResetObjDb, fread_serialized_itemfread_serialized_itemFreadSerializedItemFreadSerializedItemFreadSerializedItem, receive_serialized_itemreceive_serialized_itemReceiveSerializedItemReceiveSerializedItemReceiveSerializedItem, serialize_ocrserialize_ocrSerializeOcrSerializeOcrSerializeOcr

Possible Successors

do_ocr_multido_ocr_multiDoOcrMultiDoOcrMultiDoOcrMulti, do_ocr_singledo_ocr_singleDoOcrSingleDoOcrSingleDoOcrSingle, traind_ocr_class_boxtraind_ocr_class_boxTraindOcrClassBoxTraindOcrClassBoxTraindOcrClassBox, trainf_ocr_class_boxtrainf_ocr_class_boxTrainfOcrClassBoxTrainfOcrClassBoxTrainfOcrClassBox

See also

serialize_ocrserialize_ocrSerializeOcrSerializeOcrSerializeOcr, do_ocr_multido_ocr_multiDoOcrMultiDoOcrMultiDoOcrMulti, traind_ocr_class_boxtraind_ocr_class_boxTraindOcrClassBoxTraindOcrClassBoxTraindOcrClassBox, trainf_ocr_class_boxtrainf_ocr_class_boxTrainfOcrClassBoxTrainfOcrClassBoxTrainfOcrClassBox

Module

OCR/OCV