clear_ocr_class_svmT_clear_ocr_class_svmClearOcrClassSvmClearOcrClassSvm (Operator)

Name

clear_ocr_class_svmT_clear_ocr_class_svmClearOcrClassSvmClearOcrClassSvm — Clear an SVM-based OCR classifier.

Signature

clear_ocr_class_svm( : : OCRHandle : )

Herror T_clear_ocr_class_svm(const Htuple OCRHandle)

void ClearOcrClassSvm(const HTuple& OCRHandle)

static void HOCRSvm::ClearOcrClassSvm(const HOCRSvmArray& OCRHandle)

void HOCRSvm::ClearOcrClassSvm() const

static void HOperatorSet.ClearOcrClassSvm(HTuple OCRHandle)

static void HOCRSvm.ClearOcrClassSvm(HOCRSvm[] OCRHandle)

void HOCRSvm.ClearOcrClassSvm()

Description

clear_ocr_class_svmclear_ocr_class_svmClearOcrClassSvmClearOcrClassSvmClearOcrClassSvm clears the OCR classifier given by OCRHandleOCRHandleOCRHandleOCRHandleOCRHandle and frees all memory required for the classifier. After calling clear_ocr_class_svmclear_ocr_class_svmClearOcrClassSvmClearOcrClassSvmClearOcrClassSvm, the classifier can no longer be used. The handle OCRHandleOCRHandleOCRHandleOCRHandleOCRHandle becomes invalid.

Execution Information

This operator modifies the state of the following input parameter:

The value of this parameter may not be shared across multiple threads without external synchronization.

Parameters

OCRHandleOCRHandleOCRHandleOCRHandleOCRHandle (input_control, state is modified)  ocr_svm(-array) HOCRSvm, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the OCR classifier.

Result

If OCRHandleOCRHandleOCRHandleOCRHandleOCRHandle is valid the operator clear_ocr_class_svmclear_ocr_class_svmClearOcrClassSvmClearOcrClassSvmClearOcrClassSvm returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.

Possible Predecessors

do_ocr_single_class_svmdo_ocr_single_class_svmDoOcrSingleClassSvmDoOcrSingleClassSvmDoOcrSingleClassSvm, do_ocr_multi_class_svmdo_ocr_multi_class_svmDoOcrMultiClassSvmDoOcrMultiClassSvmDoOcrMultiClassSvm

See also

create_ocr_class_svmcreate_ocr_class_svmCreateOcrClassSvmCreateOcrClassSvmCreateOcrClassSvm, read_ocr_class_svmread_ocr_class_svmReadOcrClassSvmReadOcrClassSvmReadOcrClassSvm, write_ocr_class_svmwrite_ocr_class_svmWriteOcrClassSvmWriteOcrClassSvmWriteOcrClassSvm, trainf_ocr_class_svmtrainf_ocr_class_svmTrainfOcrClassSvmTrainfOcrClassSvmTrainfOcrClassSvm

Module

OCR/OCV