serialize_ocr_class_svmT_serialize_ocr_class_svmSerializeOcrClassSvmSerializeOcrClassSvmserialize_ocr_class_svm (Operator)

Name

serialize_ocr_class_svmT_serialize_ocr_class_svmSerializeOcrClassSvmSerializeOcrClassSvmserialize_ocr_class_svm — 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()

def serialize_ocr_class_svm(ocrhandle: HHandle) -> HHandle

Description

serialize_ocr_class_svmserialize_ocr_class_svmSerializeOcrClassSvmSerializeOcrClassSvmSerializeOcrClassSvmserialize_ocr_class_svm serializes a SVM-based OCR classifier (see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item 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_svmWriteOcrClassSvmWriteOcrClassSvmWriteOcrClassSvmwrite_ocr_class_svm is converted to a serialized item. The OCR classifier is defined by the handle OCRHandleOCRHandleOCRHandleOCRHandleOCRHandleocrhandle. The serialized OCR classifier is returned by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle and can be deserialized by deserialize_ocr_class_svmdeserialize_ocr_class_svmDeserializeOcrClassSvmDeserializeOcrClassSvmDeserializeOcrClassSvmdeserialize_ocr_class_svm.

Execution Information

Parameters

OCRHandleOCRHandleOCRHandleOCRHandleOCRHandleocrhandle (input_control)  ocr_svm HOCRSvm, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the OCR classifier.

SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle (output_control)  serialized_item HSerializedItem, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the serialized item.

Result

If the parameters are valid, the operator serialize_ocr_class_svmserialize_ocr_class_svmSerializeOcrClassSvmSerializeOcrClassSvmSerializeOcrClassSvmserialize_ocr_class_svm returns the value TRUE. If necessary, an exception is raised.

Possible Predecessors

trainf_ocr_class_svmtrainf_ocr_class_svmTrainfOcrClassSvmTrainfOcrClassSvmTrainfOcrClassSvmtrainf_ocr_class_svm

Possible Successors

clear_ocr_class_svmclear_ocr_class_svmClearOcrClassSvmClearOcrClassSvmClearOcrClassSvmclear_ocr_class_svm, fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item, send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItemsend_serialized_item, deserialize_ocr_class_svmdeserialize_ocr_class_svmDeserializeOcrClassSvmDeserializeOcrClassSvmDeserializeOcrClassSvmdeserialize_ocr_class_svm

See also

create_ocr_class_svmcreate_ocr_class_svmCreateOcrClassSvmCreateOcrClassSvmCreateOcrClassSvmcreate_ocr_class_svm, read_ocr_class_svmread_ocr_class_svmReadOcrClassSvmReadOcrClassSvmReadOcrClassSvmread_ocr_class_svm, write_class_svmwrite_class_svmWriteClassSvmWriteClassSvmWriteClassSvmwrite_class_svm, read_class_svmread_class_svmReadClassSvmReadClassSvmReadClassSvmread_class_svm, deserialize_ocr_class_svmdeserialize_ocr_class_svmDeserializeOcrClassSvmDeserializeOcrClassSvmDeserializeOcrClassSvmdeserialize_ocr_class_svm

Module

OCR/OCV