serialize_ocr_class_cnnT_serialize_ocr_class_cnnSerializeOcrClassCnnSerializeOcrClassCnn (Operator)
Name
serialize_ocr_class_cnnT_serialize_ocr_class_cnnSerializeOcrClassCnnSerializeOcrClassCnn
— Serialize a CNN-based OCR classifier
Signature
Description
serialize_ocr_class_cnnserialize_ocr_class_cnnSerializeOcrClassCnnSerializeOcrClassCnnSerializeOcrClassCnn
serializes a CNN-based OCR classifier (see
fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem
for an introduction of the basic
principle of serialization). 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_cnndeserialize_ocr_class_cnnDeserializeOcrClassCnnDeserializeOcrClassCnnDeserializeOcrClassCnn
.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
OCRHandleOCRHandleOCRHandleOCRHandleOCRHandle
(input_control) ocr_cnn →
HOCRCnn, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the OCR classifier.
SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle
(output_control) serialized_item →
HSerializedItem, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the serialized item.
Result
If the parameters are valid, the operator
serialize_ocr_class_cnnserialize_ocr_class_cnnSerializeOcrClassCnnSerializeOcrClassCnnSerializeOcrClassCnn
returns the value 2 (H_MSG_TRUE). If
necessary, an exception is raised.
Possible Successors
clear_ocr_class_cnnclear_ocr_class_cnnClearOcrClassCnnClearOcrClassCnnClearOcrClassCnn
,
fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem
,
send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItem
,
deserialize_ocr_class_cnndeserialize_ocr_class_cnnDeserializeOcrClassCnnDeserializeOcrClassCnnDeserializeOcrClassCnn
Module
OCR/OCV