clear_ocr_class_mlpT_clear_ocr_class_mlpClearOcrClassMlpClearOcrClassMlpclear_ocr_class_mlp (Operator)
Name
clear_ocr_class_mlpT_clear_ocr_class_mlpClearOcrClassMlpClearOcrClassMlpclear_ocr_class_mlp
— Clear an OCR classifier.
Signature
Herror T_clear_ocr_class_mlp(const Htuple OCRHandle)
def clear_ocr_class_mlp(ocrhandle: MaybeSequence[HHandle]) -> None
Description
clear_ocr_class_mlpclear_ocr_class_mlpClearOcrClassMlpClearOcrClassMlpClearOcrClassMlpclear_ocr_class_mlp
clears the OCR classifier given by
OCRHandleOCRHandleOCRHandleOCRHandleOCRHandleocrhandle
that was created with
create_ocr_class_mlpcreate_ocr_class_mlpCreateOcrClassMlpCreateOcrClassMlpCreateOcrClassMlpcreate_ocr_class_mlp
and frees all memory required for the
classifier. After calling clear_ocr_class_mlpclear_ocr_class_mlpClearOcrClassMlpClearOcrClassMlpClearOcrClassMlpclear_ocr_class_mlp
, the
classifier can no longer be used. The handle OCRHandleOCRHandleOCRHandleOCRHandleOCRHandleocrhandle
becomes invalid.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
This operator modifies the state of the following input parameter:
During execution of this operator, access to the value of this parameter must be synchronized if it is used across multiple threads.
Parameters
OCRHandleOCRHandleOCRHandleOCRHandleOCRHandleocrhandle
(input_control, state is modified) ocr_mlp(-array) →
HOCRMlp, HTupleMaybeSequence[HHandle]HTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the OCR classifier.
Result
If OCRHandleOCRHandleOCRHandleOCRHandleOCRHandleocrhandle
is valid, the operator
clear_ocr_class_mlpclear_ocr_class_mlpClearOcrClassMlpClearOcrClassMlpClearOcrClassMlpclear_ocr_class_mlp
returns the value 2 (H_MSG_TRUE). If necessary, an
exception is raised.
Possible Predecessors
do_ocr_single_class_mlpdo_ocr_single_class_mlpDoOcrSingleClassMlpDoOcrSingleClassMlpDoOcrSingleClassMlpdo_ocr_single_class_mlp
,
do_ocr_multi_class_mlpdo_ocr_multi_class_mlpDoOcrMultiClassMlpDoOcrMultiClassMlpDoOcrMultiClassMlpdo_ocr_multi_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_ocr_class_mlpwrite_ocr_class_mlpWriteOcrClassMlpWriteOcrClassMlpWriteOcrClassMlpwrite_ocr_class_mlp
,
trainf_ocr_class_mlptrainf_ocr_class_mlpTrainfOcrClassMlpTrainfOcrClassMlpTrainfOcrClassMlptrainf_ocr_class_mlp
Module
OCR/OCV