ClassesClasses | | Operators

serialize_ocr_class_mlpserialize_ocr_class_mlpSerializeOcrClassMlpSerializeOcrClassMlp (Operator)

Name

serialize_ocr_class_mlpserialize_ocr_class_mlpSerializeOcrClassMlpSerializeOcrClassMlp — Serialize a MLP-based OCR classifier.

Signature

serialize_ocr_class_mlp( : : OCRHandle : SerializedItemHandle)

Herror serialize_ocr_class_mlp(const Hlong OCRHandle, Hlong* 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()

Description

serialize_ocr_class_mlpserialize_ocr_class_mlpSerializeOcrClassMlpSerializeOcrClassMlpSerializeOcrClassMlp serializes a MLP-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_mlpwrite_ocr_class_mlpWriteOcrClassMlpWriteOcrClassMlpWriteOcrClassMlp 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_mlpdeserialize_ocr_class_mlpDeserializeOcrClassMlpDeserializeOcrClassMlpDeserializeOcrClassMlp.

Execution Information

Parameters

OCRHandleOCRHandleOCRHandleOCRHandleOCRHandle (input_control)  ocr_mlp HOCRMlp, HTupleHTupleHtuple (integer) (IntPtr) (Hlong) (Hlong)

Handle of the OCR classifier.

SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle (output_control)  serialized_item HSerializedItem, HTupleHTupleHtuple (integer) (IntPtr) (Hlong) (Hlong)

Handle of the serialized item.

Result

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

Possible Predecessors

trainf_ocr_class_mlptrainf_ocr_class_mlpTrainfOcrClassMlpTrainfOcrClassMlpTrainfOcrClassMlp

Possible Successors

clear_ocr_class_mlpclear_ocr_class_mlpClearOcrClassMlpClearOcrClassMlpClearOcrClassMlp, fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem, send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItem, deserialize_ocr_class_mlpdeserialize_ocr_class_mlpDeserializeOcrClassMlpDeserializeOcrClassMlpDeserializeOcrClassMlp

See also

create_ocr_class_mlpcreate_ocr_class_mlpCreateOcrClassMlpCreateOcrClassMlpCreateOcrClassMlp, read_ocr_class_mlpread_ocr_class_mlpReadOcrClassMlpReadOcrClassMlpReadOcrClassMlp, write_class_mlpwrite_class_mlpWriteClassMlpWriteClassMlpWriteClassMlp, read_class_mlpread_class_mlpReadClassMlpReadClassMlpReadClassMlp, deserialize_ocr_class_mlpdeserialize_ocr_class_mlpDeserializeOcrClassMlpDeserializeOcrClassMlpDeserializeOcrClassMlp

Module

OCR/OCV


ClassesClasses | | Operators