Name
write_ocrwrite_ocrWriteOcrwrite_ocrWriteOcrWriteOcr — Writing an OCR classifier into a file.
Warning
write_ocrwrite_ocrWriteOcrwrite_ocrWriteOcrWriteOcr is obsolete and is only provided for
reasons of backward compatibility. New applications should use the
MLP, SVM or CNN based operators instead.
The operator write_ocrwrite_ocrWriteOcrwrite_ocrWriteOcrWriteOcr writes the OCR classifier
OcrHandleOcrHandleOcrHandleOcrHandleOcrHandleocrHandle into the file FileNameFileNameFileNameFileNameFileNamefileName. Since the data
of the classifier will be lost when the program is finished, they
have to be stored after the training if the user wants to
use them again at a later execution of the program. The data can
then be read with the help of the operator read_ocrread_ocrReadOcrread_ocrReadOcrReadOcr.
The extension will be added automatically to the parameter
FileNameFileNameFileNameFileNameFileNamefileName.
The output file FileNameFileNameFileNameFileNameFileNamefileName must be given without extension.
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
ID of the OCR classifier.
Name of the file for the OCR classifier (without extension).
Default value:
'my_ocr'
"my_ocr"
"my_ocr"
"my_ocr"
"my_ocr"
"my_ocr"
File extension: .obc
If the parameter OcrHandleOcrHandleOcrHandleOcrHandleOcrHandleocrHandle is valid and the
indicated file can be written, the operator
write_ocrwrite_ocrWriteOcrwrite_ocrWriteOcrWriteOcr returns the value 2 (H_MSG_TRUE).
Otherwise an exception will be raised.
traind_ocr_class_boxtraind_ocr_class_boxTraindOcrClassBoxtraind_ocr_class_boxTraindOcrClassBoxTraindOcrClassBox,
trainf_ocr_class_boxtrainf_ocr_class_boxTrainfOcrClassBoxtrainf_ocr_class_boxTrainfOcrClassBoxTrainfOcrClassBox
do_ocr_multido_ocr_multiDoOcrMultido_ocr_multiDoOcrMultiDoOcrMulti,
do_ocr_singledo_ocr_singleDoOcrSingledo_ocr_singleDoOcrSingleDoOcrSingle
read_ocrread_ocrReadOcrread_ocrReadOcrReadOcr,
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