Operator Reference
read_ocr_trainf_select (Operator)
read_ocr_trainf_select
— Read training specific characters from files and convert to images.
Signature
read_ocr_trainf_select( : Characters : TrainingFile, SearchNames : FoundNames)
Description
read_ocr_trainf_select
reads the characters given in
SearchNames
from the specified files and converts them
into images. It works similar to read_ocr_trainf
but here
the characters which are extracted can be specified.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
Characters
(output_object) image-array →
object (byte / uint2)
Images read from file.
TrainingFile
(input_control) filename.read(-array) →
(string)
Names of the training files.
Default: ''
File extension:
.trf
, .otr
SearchNames
(input_control) string(-array) →
(string)
Names of the characters to be extracted.
Default: '0'
FoundNames
(output_control) string(-array) →
(string)
Names of the read characters.
Result
If the parameter values are correct the operator
read_ocr_trainf_select
returns the value 2 (
H_MSG_TRUE)
.
Otherwise an exception is raised.
Possible Predecessors
Possible Successors
disp_image
,
select_obj
,
zoom_image_size
Alternatives
Module
OCR/OCV