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_selectReadOcrTrainfSelectReadOcrTrainfSelectReadOcrTrainfSelectread_ocr_trainf_select
reads the characters given in
SearchNamesSearchNamesSearchNamesSearchNamessearchNamessearch_names
from the specified files and converts them
into images. It works similar to read_ocr_trainfread_ocr_trainfReadOcrTrainfReadOcrTrainfReadOcrTrainfread_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
CharactersCharactersCharactersCharacterscharacterscharacters
(output_object) image-array →
objectHImageHObjectHImageHobject * (byte / uint2)
Images read from file.
TrainingFileTrainingFileTrainingFileTrainingFiletrainingFiletraining_file
(input_control) filename.read(-array) →
HTupleMaybeSequence[str]HTupleHtuple (string) (string) (HString) (char*)
Names of the training files.
Default value:
''
""
""
""
""
""
File extension: .trf
, .otr
SearchNamesSearchNamesSearchNamesSearchNamessearchNamessearch_names
(input_control) string(-array) →
HTupleMaybeSequence[str]HTupleHtuple (string) (string) (HString) (char*)
Names of the characters to be extracted.
Default value:
'0'
"0"
"0"
"0"
"0"
"0"
FoundNamesFoundNamesFoundNamesFoundNamesfoundNamesfound_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_selectReadOcrTrainfSelectReadOcrTrainfSelectReadOcrTrainfSelectread_ocr_trainf_select
returns the value TRUE.
Otherwise an exception is raised.
Possible Predecessors
write_ocr_trainfwrite_ocr_trainfWriteOcrTrainfWriteOcrTrainfWriteOcrTrainfwrite_ocr_trainf
Possible Successors
disp_imagedisp_imageDispImageDispImageDispImagedisp_image
,
select_objselect_objSelectObjSelectObjSelectObjselect_obj
,
zoom_image_sizezoom_image_sizeZoomImageSizeZoomImageSizeZoomImageSizezoom_image_size
Alternatives
read_ocr_trainfread_ocr_trainfReadOcrTrainfReadOcrTrainfReadOcrTrainfread_ocr_trainf
Module
OCR/OCV