clear_ocr_class_svmT_clear_ocr_class_svmClearOcrClassSvmClearOcrClassSvmclear_ocr_class_svm (Operator)
Name
clear_ocr_class_svmT_clear_ocr_class_svmClearOcrClassSvmClearOcrClassSvmclear_ocr_class_svm
— Clear an SVM-based OCR classifier.
Signature
Herror T_clear_ocr_class_svm(const Htuple OCRHandle)
def clear_ocr_class_svm(ocrhandle: MaybeSequence[HHandle]) -> None
Description
clear_ocr_class_svmclear_ocr_class_svmClearOcrClassSvmClearOcrClassSvmClearOcrClassSvmclear_ocr_class_svm
clears the OCR classifier given by
OCRHandleOCRHandleOCRHandleOCRHandleOCRHandleocrhandle
and frees all memory required for the
classifier. After calling clear_ocr_class_svmclear_ocr_class_svmClearOcrClassSvmClearOcrClassSvmClearOcrClassSvmclear_ocr_class_svm
, 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_svm(-array) →
HOCRSvm, HTupleMaybeSequence[HHandle]HTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the OCR classifier.
Result
If OCRHandleOCRHandleOCRHandleOCRHandleOCRHandleocrhandle
is valid the operator
clear_ocr_class_svmclear_ocr_class_svmClearOcrClassSvmClearOcrClassSvmClearOcrClassSvmclear_ocr_class_svm
returns the value TRUE. If necessary,
an exception is raised.
Possible Predecessors
do_ocr_single_class_svmdo_ocr_single_class_svmDoOcrSingleClassSvmDoOcrSingleClassSvmDoOcrSingleClassSvmdo_ocr_single_class_svm
,
do_ocr_multi_class_svmdo_ocr_multi_class_svmDoOcrMultiClassSvmDoOcrMultiClassSvmDoOcrMultiClassSvmdo_ocr_multi_class_svm
See also
create_ocr_class_svmcreate_ocr_class_svmCreateOcrClassSvmCreateOcrClassSvmCreateOcrClassSvmcreate_ocr_class_svm
,
read_ocr_class_svmread_ocr_class_svmReadOcrClassSvmReadOcrClassSvmReadOcrClassSvmread_ocr_class_svm
,
write_ocr_class_svmwrite_ocr_class_svmWriteOcrClassSvmWriteOcrClassSvmWriteOcrClassSvmwrite_ocr_class_svm
,
trainf_ocr_class_svmtrainf_ocr_class_svmTrainfOcrClassSvmTrainfOcrClassSvmTrainfOcrClassSvmtrainf_ocr_class_svm
Module
OCR/OCV