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_mlpSerializeOcrClassMlpSerializeOcrClassMlpSerializeOcrClassMlpserialize_ocr_class_mlp serializes a MLP-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_mlpwrite_ocr_class_mlpWriteOcrClassMlpWriteOcrClassMlpWriteOcrClassMlpwrite_ocr_class_mlp 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_mlpdeserialize_ocr_class_mlpDeserializeOcrClassMlpDeserializeOcrClassMlpDeserializeOcrClassMlpdeserialize_ocr_class_mlp.

Execution Information

Parameters

OCRHandleOCRHandleOCRHandleOCRHandleOCRHandleocrhandle (input_control)  ocr_mlp HOCRMlp, 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_mlpserialize_ocr_class_mlpSerializeOcrClassMlpSerializeOcrClassMlpSerializeOcrClassMlpserialize_ocr_class_mlp returns the value 2 ( H_MSG_TRUE) . If necessary, an exception is raised.

Possible Predecessors

trainf_ocr_class_mlptrainf_ocr_class_mlpTrainfOcrClassMlpTrainfOcrClassMlpTrainfOcrClassMlptrainf_ocr_class_mlp

Possible Successors

clear_ocr_class_mlpclear_ocr_class_mlpClearOcrClassMlpClearOcrClassMlpClearOcrClassMlpclear_ocr_class_mlp, fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item, send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItemsend_serialized_item, deserialize_ocr_class_mlpdeserialize_ocr_class_mlpDeserializeOcrClassMlpDeserializeOcrClassMlpDeserializeOcrClassMlpdeserialize_ocr_class_mlp

See also

create_ocr_class_mlpcreate_ocr_class_mlpCreateOcrClassMlpCreateOcrClassMlpCreateOcrClassMlpcreate_ocr_class_mlp, read_ocr_class_mlpread_ocr_class_mlpReadOcrClassMlpReadOcrClassMlpReadOcrClassMlpread_ocr_class_mlp, write_class_mlpwrite_class_mlpWriteClassMlpWriteClassMlpWriteClassMlpwrite_class_mlp, read_class_mlpread_class_mlpReadClassMlpReadClassMlpReadClassMlpread_class_mlp, deserialize_ocr_class_mlpdeserialize_ocr_class_mlpDeserializeOcrClassMlpDeserializeOcrClassMlpDeserializeOcrClassMlpdeserialize_ocr_class_mlp

Module

OCR/OCV