ClassesClasses | | Operators

serialize_ocr_class_svmT_serialize_ocr_class_svmSerializeOcrClassSvmSerializeOcrClassSvm (Operator)

Name

serialize_ocr_class_svmT_serialize_ocr_class_svmSerializeOcrClassSvmSerializeOcrClassSvm — Serialize a SVM-based OCR classifier

Signature

serialize_ocr_class_svm( : : OCRHandle : SerializedItemHandle)

Herror T_serialize_ocr_class_svm(const Htuple OCRHandle, Htuple* SerializedItemHandle)

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

HSerializedItem HOCRSvm::SerializeOcrClassSvm() const

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

HSerializedItem HOCRSvm.SerializeOcrClassSvm()

Description

serialize_ocr_class_svmserialize_ocr_class_svmSerializeOcrClassSvmSerializeOcrClassSvmSerializeOcrClassSvm serializes a SVM-based OCR classifier (see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem for an introduction of the basic principle of serialization). The same data that is written in a file by write_ocr_class_svmwrite_ocr_class_svmWriteOcrClassSvmWriteOcrClassSvmWriteOcrClassSvm is converted to a serialized item. The OCR classifier is defined by the handle OCRHandleOCRHandleOCRHandleOCRHandleOCRHandle. The serialized OCR classifier is returned by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle and can be deserialized by deserialize_ocr_class_svmdeserialize_ocr_class_svmDeserializeOcrClassSvmDeserializeOcrClassSvmDeserializeOcrClassSvm.

Execution Information

Parameters

OCRHandleOCRHandleOCRHandleOCRHandleOCRHandle (input_control)  ocr_svm HOCRSvm, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the OCR classifier.

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

Handle of the serialized item.

Result

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

Possible Predecessors

trainf_ocr_class_svmtrainf_ocr_class_svmTrainfOcrClassSvmTrainfOcrClassSvmTrainfOcrClassSvm

Possible Successors

clear_ocr_class_svmclear_ocr_class_svmClearOcrClassSvmClearOcrClassSvmClearOcrClassSvm, fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem, send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItem, deserialize_ocr_class_svmdeserialize_ocr_class_svmDeserializeOcrClassSvmDeserializeOcrClassSvmDeserializeOcrClassSvm

See also

create_ocr_class_svmcreate_ocr_class_svmCreateOcrClassSvmCreateOcrClassSvmCreateOcrClassSvm, read_ocr_class_svmread_ocr_class_svmReadOcrClassSvmReadOcrClassSvmReadOcrClassSvm, write_class_svmwrite_class_svmWriteClassSvmWriteClassSvmWriteClassSvm, read_class_svmread_class_svmReadClassSvmReadClassSvmReadClassSvm, deserialize_ocr_class_svmdeserialize_ocr_class_svmDeserializeOcrClassSvmDeserializeOcrClassSvmDeserializeOcrClassSvm

Module

OCR/OCV


ClassesClasses | | Operators