Operator Reference

clear_ocr_class_mlpT_clear_ocr_class_mlpClearOcrClassMlpClearOcrClassMlpclear_ocr_class_mlp (Operator)

clear_ocr_class_mlpT_clear_ocr_class_mlpClearOcrClassMlpClearOcrClassMlpclear_ocr_class_mlp — Clear an OCR classifier.

Signature

clear_ocr_class_mlp( : : OCRHandle : )

Herror T_clear_ocr_class_mlp(const Htuple OCRHandle)

void ClearOcrClassMlp(const HTuple& OCRHandle)

static void HOCRMlp::ClearOcrClassMlp(const HOCRMlpArray& OCRHandle)

void HOCRMlp::ClearOcrClassMlp() const

static void HOperatorSet.ClearOcrClassMlp(HTuple OCRHandle)

static void HOCRMlp.ClearOcrClassMlp(HOCRMlp[] OCRHandle)

void HOCRMlp.ClearOcrClassMlp()

def clear_ocr_class_mlp(ocrhandle: MaybeSequence[HHandle]) -> None

Description

clear_ocr_class_mlpclear_ocr_class_mlpClearOcrClassMlpClearOcrClassMlpclear_ocr_class_mlp clears the OCR classifier given by OCRHandleOCRHandleOCRHandleOCRHandleocrhandle that was created with create_ocr_class_mlpcreate_ocr_class_mlpCreateOcrClassMlpCreateOcrClassMlpcreate_ocr_class_mlp and frees all memory required for the classifier. After calling clear_ocr_class_mlpclear_ocr_class_mlpClearOcrClassMlpClearOcrClassMlpclear_ocr_class_mlp, the classifier can no longer be used. The handle OCRHandleOCRHandleOCRHandleOCRHandleocrhandle 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

OCRHandleOCRHandleOCRHandleOCRHandleocrhandle (input_control, state is modified)  ocr_mlp(-array) HOCRMlp, HTupleMaybeSequence[HHandle]HTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the OCR classifier.

Result

If OCRHandleOCRHandleOCRHandleOCRHandleocrhandle is valid, the operator clear_ocr_class_mlpclear_ocr_class_mlpClearOcrClassMlpClearOcrClassMlpclear_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_mlpDoOcrSingleClassMlpDoOcrSingleClassMlpdo_ocr_single_class_mlp, do_ocr_multi_class_mlpdo_ocr_multi_class_mlpDoOcrMultiClassMlpDoOcrMultiClassMlpdo_ocr_multi_class_mlp

See also

create_ocr_class_mlpcreate_ocr_class_mlpCreateOcrClassMlpCreateOcrClassMlpcreate_ocr_class_mlp, read_ocr_class_mlpread_ocr_class_mlpReadOcrClassMlpReadOcrClassMlpread_ocr_class_mlp, write_ocr_class_mlpwrite_ocr_class_mlpWriteOcrClassMlpWriteOcrClassMlpwrite_ocr_class_mlp, trainf_ocr_class_mlptrainf_ocr_class_mlpTrainfOcrClassMlpTrainfOcrClassMlptrainf_ocr_class_mlp

Module

OCR/OCV