close_ocr
— Deallocation of the memory of an OCR classifier.
close_ocr
is obsolete and is only provided for
reasons of backward compatibility. New applications should use the
MLP, SVM or CNN based operators instead.
close_ocr( : : OcrHandle : )
The operator close_ocr
deallocates the
memory of the classifier having the number OcrHandle
.
Hereby all corresponding data will be deleted. However,
if necessary, they can be saved in advance using the
operator write_ocr
.
The number OcrHandle
will be invalid after the call;
but later the system can use it again for new classifiers.
All data of the classifier will be deleted in main memory (not on the hard disk).
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.
OcrHandle
(input_control, state is modified) ocr_box →
(handle)
ID of the OCR classifier to be deleted.
If the parameter OcrHandle
is valid, the operator
close_ocr
returns the value 2 (H_MSG_TRUE).
Otherwise an exception will be raised.
OCR/OCV