read_ocr_trainf_selectread_ocr_trainf_selectReadOcrTrainfSelectReadOcrTrainfSelectread_ocr_trainf_select (Operator)
Name
read_ocr_trainf_selectread_ocr_trainf_selectReadOcrTrainfSelectReadOcrTrainfSelectread_ocr_trainf_select
— Read training specific characters from files and convert to images.
Signature
Description
read_ocr_trainf_selectread_ocr_trainf_selectReadOcrTrainfSelectReadOcrTrainfSelectread_ocr_trainf_select
reads the characters given in
SearchNamesSearchNamesSearchNamessearchNamessearch_names
from the specified files and converts them
into images. It works similar to read_ocr_trainfread_ocr_trainfReadOcrTrainfReadOcrTrainfread_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
CharactersCharactersCharacterscharacterscharacters
(output_object) image-array →
objectHImageHObjectHObjectHobject * (byte / uint2)
Images read from file.
TrainingFileTrainingFileTrainingFiletrainingFiletraining_file
(input_control) filename.read(-array) →
HTupleMaybeSequence[str]HTupleHtuple (string) (string) (HString) (char*)
Names of the training files.
Default:
''
""
""
""
""
File extension:
.trf
, .otr
SearchNamesSearchNamesSearchNamessearchNamessearch_names
(input_control) string(-array) →
HTupleMaybeSequence[str]HTupleHtuple (string) (string) (HString) (char*)
Names of the characters to be extracted.
Default:
'0'
"0"
"0"
"0"
"0"
FoundNamesFoundNamesFoundNamesfoundNamesfound_names
(output_control) string(-array) →
HTupleSequence[str]HTupleHtuple (string) (string) (HString) (char*)
Names of the read characters.
Result
If the parameter values are correct the operator
read_ocr_trainf_selectread_ocr_trainf_selectReadOcrTrainfSelectReadOcrTrainfSelectread_ocr_trainf_select
returns the value 2 (
H_MSG_TRUE)
.
Otherwise an exception is raised.
Possible Predecessors
write_ocr_trainfwrite_ocr_trainfWriteOcrTrainfWriteOcrTrainfwrite_ocr_trainf
Possible Successors
disp_imagedisp_imageDispImageDispImagedisp_image
,
select_objselect_objSelectObjSelectObjselect_obj
,
zoom_image_sizezoom_image_sizeZoomImageSizeZoomImageSizezoom_image_size
Alternatives
read_ocr_trainfread_ocr_trainfReadOcrTrainfReadOcrTrainfread_ocr_trainf
Module
OCR/OCV