clear_ocr_class_cnnT_clear_ocr_class_cnnClearOcrClassCnnClearOcrClassCnn (Operator)
Name
clear_ocr_class_cnnT_clear_ocr_class_cnnClearOcrClassCnnClearOcrClassCnn
— Clear an CNN-based OCR classifier.
Signature
Herror T_clear_ocr_class_cnn(const Htuple OCRHandle)
Description
clear_ocr_class_cnnclear_ocr_class_cnnClearOcrClassCnnClearOcrClassCnnClearOcrClassCnn
clears the OCR classifier given by
OCRHandleOCRHandleOCRHandleOCRHandleOCRHandle
that was read with read_ocr_class_cnnread_ocr_class_cnnReadOcrClassCnnReadOcrClassCnnReadOcrClassCnn
and frees
all memory required for the classifier. After calling
clear_ocr_class_cnnclear_ocr_class_cnnClearOcrClassCnnClearOcrClassCnnClearOcrClassCnn
, 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_cnn(-array) →
HOCRCnn, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the OCR classifier.
Result
If OCRHandleOCRHandleOCRHandleOCRHandleOCRHandle
is valid, the operator
clear_ocr_class_cnnclear_ocr_class_cnnClearOcrClassCnnClearOcrClassCnnClearOcrClassCnn
returns the value 2 (H_MSG_TRUE). If necessary, an
exception is raised.
Possible Predecessors
do_ocr_single_class_cnndo_ocr_single_class_cnnDoOcrSingleClassCnnDoOcrSingleClassCnnDoOcrSingleClassCnn
,
do_ocr_multi_class_cnndo_ocr_multi_class_cnnDoOcrMultiClassCnnDoOcrMultiClassCnnDoOcrMultiClassCnn
,
do_ocr_word_cnndo_ocr_word_cnnDoOcrWordCnnDoOcrWordCnnDoOcrWordCnn
See also
read_ocr_class_cnnread_ocr_class_cnnReadOcrClassCnnReadOcrClassCnnReadOcrClassCnn
Module
OCR/OCV