serialize_ocr_class_cnnT_serialize_ocr_class_cnnSerializeOcrClassCnnSerializeOcrClassCnnserialize_ocr_class_cnn (Operator)

Name

serialize_ocr_class_cnnT_serialize_ocr_class_cnnSerializeOcrClassCnnSerializeOcrClassCnnserialize_ocr_class_cnn — Serialize a CNN-based OCR classifier

Signature

serialize_ocr_class_cnn( : : OCRHandle : SerializedItemHandle)

Herror T_serialize_ocr_class_cnn(const Htuple OCRHandle, Htuple* SerializedItemHandle)

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

HSerializedItem HOCRCnn::SerializeOcrClassCnn() const

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

HSerializedItem HOCRCnn.SerializeOcrClassCnn()

def serialize_ocr_class_cnn(ocrhandle: HHandle) -> HHandle

Description

serialize_ocr_class_cnnserialize_ocr_class_cnnSerializeOcrClassCnnSerializeOcrClassCnnSerializeOcrClassCnnserialize_ocr_class_cnn serializes a CNN-based OCR classifier (see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item for an introduction of the basic principle of serialization). 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_cnndeserialize_ocr_class_cnnDeserializeOcrClassCnnDeserializeOcrClassCnnDeserializeOcrClassCnndeserialize_ocr_class_cnn.

Execution Information

Parameters

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

Possible Successors

clear_ocr_class_cnnclear_ocr_class_cnnClearOcrClassCnnClearOcrClassCnnClearOcrClassCnnclear_ocr_class_cnn, fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item, send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItemsend_serialized_item, deserialize_ocr_class_cnndeserialize_ocr_class_cnnDeserializeOcrClassCnnDeserializeOcrClassCnnDeserializeOcrClassCnndeserialize_ocr_class_cnn

Module

OCR/OCV