Operators |
read_ocr_trainf — Read training characters from files and convert to images.
read_ocr_trainf( : Characters : TrainingFile : CharacterNames)
read_ocr_trainf reads all characters from the specified file names and converts them into images. The default HALCON file extension for the OCR training file is 'trf'. The domain is defined according to the foreground of the characters (as specified in write_ocr_trainf). The names of the characters are returned in CharacterNames. If more than one file name is given the files are processed in the order of the file names.
Images read from file.
Names of the training files.
Default value: ''
File extension: .trf, .otr
Names of the read characters.
If the parameter values are correct the operator read_ocr_trainf returns the value 2 (H_MSG_TRUE). Otherwise an exception is raised.
disp_image, select_obj, zoom_image_size
OCR/OCV
Operators |