ClassesClasses | | Operators

deserialize_ocr_class_svmT_deserialize_ocr_class_svmDeserializeOcrClassSvmDeserializeOcrClassSvm (Operator)

Name

deserialize_ocr_class_svmT_deserialize_ocr_class_svmDeserializeOcrClassSvmDeserializeOcrClassSvm — Deserialize a serialized SVM-based OCR classifier.

Signature

deserialize_ocr_class_svm( : : SerializedItemHandle : OCRHandle)

Herror T_deserialize_ocr_class_svm(const Htuple SerializedItemHandle, Htuple* OCRHandle)

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

void HOCRSvm::DeserializeOcrClassSvm(const HSerializedItem& SerializedItemHandle)

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

void HOCRSvm.DeserializeOcrClassSvm(HSerializedItem serializedItemHandle)

Description

deserialize_ocr_class_svmdeserialize_ocr_class_svmDeserializeOcrClassSvmDeserializeOcrClassSvmDeserializeOcrClassSvm deserializes a SVM-based OCR classifier, that was serialized by serialize_ocr_class_svmserialize_ocr_class_svmSerializeOcrClassSvmSerializeOcrClassSvmSerializeOcrClassSvm (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_svm HOCRSvm, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the OCR classifier.

Result

If the parameters are valid, the operator deserialize_ocr_class_svmdeserialize_ocr_class_svmDeserializeOcrClassSvmDeserializeOcrClassSvmDeserializeOcrClassSvm 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_svmserialize_ocr_class_svmSerializeOcrClassSvmSerializeOcrClassSvmSerializeOcrClassSvm

Possible Successors

do_ocr_single_class_svmdo_ocr_single_class_svmDoOcrSingleClassSvmDoOcrSingleClassSvmDoOcrSingleClassSvm, do_ocr_multi_class_svmdo_ocr_multi_class_svmDoOcrMultiClassSvmDoOcrMultiClassSvmDoOcrMultiClassSvm

See also

create_ocr_class_svmcreate_ocr_class_svmCreateOcrClassSvmCreateOcrClassSvmCreateOcrClassSvm, write_ocr_class_svmwrite_ocr_class_svmWriteOcrClassSvmWriteOcrClassSvmWriteOcrClassSvm, read_class_svmread_class_svmReadClassSvmReadClassSvmReadClassSvm, write_class_svmwrite_class_svmWriteClassSvmWriteClassSvmWriteClassSvm, serialize_ocr_class_svmserialize_ocr_class_svmSerializeOcrClassSvmSerializeOcrClassSvmSerializeOcrClassSvm

Module

OCR/OCV


ClassesClasses | | Operators