Name
read_ocrread_ocrReadOcrread_ocrReadOcrReadOcr — Read an OCR classifier from a file.
The operator read_ocrread_ocrReadOcrread_ocrReadOcrReadOcr reads an OCR classifier from
a file FileNameFileNameFileNameFileNameFileNamefileName. 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.
- Multithreading type: exclusive (runs in parallel only with independent operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
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'
"testnet"
"testnet"
"testnet"
"testnet"
"testnet"
File extension: .obc, .fnt
ID of the read OCR classifier.
If the indicated file is available and the format is correct,
the operator read_ocrread_ocrReadOcrread_ocrReadOcrReadOcr returns the value 2 (H_MSG_TRUE).
Otherwise an exception will be raised.
reset_obj_dbreset_obj_dbResetObjDbreset_obj_dbResetObjDbResetObjDb
do_ocr_multido_ocr_multiDoOcrMultido_ocr_multiDoOcrMultiDoOcrMulti,
do_ocr_singledo_ocr_singleDoOcrSingledo_ocr_singleDoOcrSingleDoOcrSingle,
traind_ocr_class_boxtraind_ocr_class_boxTraindOcrClassBoxtraind_ocr_class_boxTraindOcrClassBoxTraindOcrClassBox,
trainf_ocr_class_boxtrainf_ocr_class_boxTrainfOcrClassBoxtrainf_ocr_class_boxTrainfOcrClassBoxTrainfOcrClassBox
write_ocrwrite_ocrWriteOcrwrite_ocrWriteOcrWriteOcr,
do_ocr_multido_ocr_multiDoOcrMultido_ocr_multiDoOcrMultiDoOcrMulti,
traind_ocr_class_boxtraind_ocr_class_boxTraindOcrClassBoxtraind_ocr_class_boxTraindOcrClassBoxTraindOcrClassBox,
trainf_ocr_class_boxtrainf_ocr_class_boxTrainfOcrClassBoxtrainf_ocr_class_boxTrainfOcrClassBoxTrainfOcrClassBox
OCR/OCV