read_ocr_trainf_select ( : Characters : TrainFileNames, SearchNames : FoundNames )

Read training specific characters from files and convert to images.

read_ocr_trainf_select reads the characters given in SearchNames from the specified files and converts them into images. It works simimalr to read_ocr_trainf but here the characters which are extracted can be specified.


Parameters

Characters (output_object)
image-array -> object : byte / uint2
Images read from file.

TrainFileNames (input_control)
filename.named(-array) -> string
Names of the training files.
Default value: ''

SearchNames (input_control)
string(-array) -> string
Names of the characters to be extracted.
Default value: '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 handling is raised.


Parallelization Information

read_ocr_trainf_select is reentrant and processed without parallelization.


Possible Predecessors

write_ocr_trainf


Possible Successors

disp_image, select_obj, zoom_image_size


Alternatives

read_ocr_trainf


See also

trainf_ocr_class_box


Module

OCR/OCV



Copyright © 1996-2008 MVTec Software GmbH