serialize_ocr_class_mlpT_serialize_ocr_class_mlpSerializeOcrClassMlpSerializeOcrClassMlpserialize_ocr_class_mlp (Operator)

Name

serialize_ocr_class_mlpT_serialize_ocr_class_mlpSerializeOcrClassMlpSerializeOcrClassMlpserialize_ocr_class_mlp — Serialize a MLP-based OCR classifier.

Signature

serialize_ocr_class_mlp( : : OCRHandle : SerializedItemHandle)

Herror T_serialize_ocr_class_mlp(const Htuple OCRHandle, Htuple* SerializedItemHandle)

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

HSerializedItem HOCRMlp::SerializeOcrClassMlp() const

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

HSerializedItem HOCRMlp.SerializeOcrClassMlp()

def serialize_ocr_class_mlp(ocrhandle: HHandle) -> HHandle

Description

serialize_ocr_class_mlpserialize_ocr_class_mlpSerializeOcrClassMlpSerializeOcrClassMlpserialize_ocr_class_mlp serializes a MLP-based OCR classifier (see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item for an introduction of the basic principle of serialization). The same data that is written in a file by write_ocr_class_mlpwrite_ocr_class_mlpWriteOcrClassMlpWriteOcrClassMlpwrite_ocr_class_mlp is converted to a serialized item. The OCR classifier is defined by the handle OCRHandleOCRHandleOCRHandleOCRHandleocrhandle. The serialized OCR classifier is returned by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle and can be deserialized by deserialize_ocr_class_mlpdeserialize_ocr_class_mlpDeserializeOcrClassMlpDeserializeOcrClassMlpdeserialize_ocr_class_mlp.

Execution Information

Parameters

OCRHandleOCRHandleOCRHandleOCRHandleocrhandle (input_control)  ocr_mlp HOCRMlp, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the OCR classifier.

SerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_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_mlpserialize_ocr_class_mlpSerializeOcrClassMlpSerializeOcrClassMlpserialize_ocr_class_mlp returns the value 2 ( H_MSG_TRUE) . If necessary, an exception is raised.

Possible Predecessors

trainf_ocr_class_mlptrainf_ocr_class_mlpTrainfOcrClassMlpTrainfOcrClassMlptrainf_ocr_class_mlp

Possible Successors

clear_ocr_class_mlpclear_ocr_class_mlpClearOcrClassMlpClearOcrClassMlpclear_ocr_class_mlp, fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item, send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemsend_serialized_item, deserialize_ocr_class_mlpdeserialize_ocr_class_mlpDeserializeOcrClassMlpDeserializeOcrClassMlpdeserialize_ocr_class_mlp

See also

create_ocr_class_mlpcreate_ocr_class_mlpCreateOcrClassMlpCreateOcrClassMlpcreate_ocr_class_mlp, read_ocr_class_mlpread_ocr_class_mlpReadOcrClassMlpReadOcrClassMlpread_ocr_class_mlp, write_class_mlpwrite_class_mlpWriteClassMlpWriteClassMlpwrite_class_mlp, read_class_mlpread_class_mlpReadClassMlpReadClassMlpread_class_mlp, deserialize_ocr_class_mlpdeserialize_ocr_class_mlpDeserializeOcrClassMlpDeserializeOcrClassMlpdeserialize_ocr_class_mlp

Module

OCR/OCV