read_ocr — Read an OCR classifier from a file.
read_ocr is obsolete and is only provided for
reasons of backward compatibility. New applications should use the
MLP, SVM or CNN based operators instead.
read_ocr reads an OCR classifier from
FileName. This file will hereby be searched in
the directory ($HALCONROOT/ocr/) as well as in the currently used
directory. If too many classifiers have been loaded, an error message
will be displayed.
This operator returns a handle. Note that the state of an instance of this handle type may be changed by specific operators even though the handle is used as an input parameter by those operators.
Name of the OCR classifier file.
Default value: 'testnet'
File extension: .
ID of the read OCR classifier.
If the indicated file is available and the format is correct,
read_ocr returns the value 2 (H_MSG_TRUE).
Otherwise an exception will be raised.