deserialize_ocrT_deserialize_ocrDeserializeOcrDeserializeOcrdeserialize_ocr (Operator)
Name
deserialize_ocrT_deserialize_ocrDeserializeOcrDeserializeOcrdeserialize_ocr
— Deserialize a serialized OCR classifier.
Warning
deserialize_ocrdeserialize_ocrDeserializeOcrDeserializeOcrDeserializeOcrdeserialize_ocr
is obsolete and is only provided for
reasons of backward compatibility. New applications should use the
MLP, SVM or CNN based operators instead.
Signature
Description
deserialize_ocrdeserialize_ocrDeserializeOcrDeserializeOcrDeserializeOcrdeserialize_ocr
deserializes an OCR classifier, that was serialized
by serialize_ocrserialize_ocrSerializeOcrSerializeOcrSerializeOcrserialize_ocr
(see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item
for an
introduction of the basic principle of serialization). The serialized
OCR classifier is defined by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle
.
The deserialized values are stored in an automatically created
OCR classifier with the handle OcrHandleOcrHandleOcrHandleOcrHandleocrHandleocr_handle
.
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
SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle
(input_control) serialized_item →
HSerializedItem, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the serialized item.
OcrHandleOcrHandleOcrHandleOcrHandleocrHandleocr_handle
(output_control) ocr_box →
HOCRBox, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
ID of the OCR classifier.
Result
If the parameters are valid, the operator
deserialize_ocrdeserialize_ocrDeserializeOcrDeserializeOcrDeserializeOcrdeserialize_ocr
returns the value 2 (
H_MSG_TRUE)
. If
necessary, an exception is raised.
Possible Predecessors
reset_obj_dbreset_obj_dbResetObjDbResetObjDbResetObjDbreset_obj_db
,
fread_serialized_itemfread_serialized_itemFreadSerializedItemFreadSerializedItemFreadSerializedItemfread_serialized_item
,
receive_serialized_itemreceive_serialized_itemReceiveSerializedItemReceiveSerializedItemReceiveSerializedItemreceive_serialized_item
,
serialize_ocrserialize_ocrSerializeOcrSerializeOcrSerializeOcrserialize_ocr
Possible Successors
do_ocr_multido_ocr_multiDoOcrMultiDoOcrMultiDoOcrMultido_ocr_multi
,
do_ocr_singledo_ocr_singleDoOcrSingleDoOcrSingleDoOcrSingledo_ocr_single
,
traind_ocr_class_boxtraind_ocr_class_boxTraindOcrClassBoxTraindOcrClassBoxTraindOcrClassBoxtraind_ocr_class_box
,
trainf_ocr_class_boxtrainf_ocr_class_boxTrainfOcrClassBoxTrainfOcrClassBoxTrainfOcrClassBoxtrainf_ocr_class_box
See also
serialize_ocrserialize_ocrSerializeOcrSerializeOcrSerializeOcrserialize_ocr
,
do_ocr_multido_ocr_multiDoOcrMultiDoOcrMultiDoOcrMultido_ocr_multi
,
traind_ocr_class_boxtraind_ocr_class_boxTraindOcrClassBoxTraindOcrClassBoxTraindOcrClassBoxtraind_ocr_class_box
,
trainf_ocr_class_boxtrainf_ocr_class_boxTrainfOcrClassBoxTrainfOcrClassBoxTrainfOcrClassBoxtrainf_ocr_class_box
Module
OCR/OCV