| HALCON Reference Manual / OCR / Training-Files | Operators |
read_ocr_trainf_names — Query which characters are stored in a training file.
read_ocr_trainf_names( : : TrainFileNames : CharacterNames, CharacterCount)
read_ocr_trainf_names extracts the names and frequency of all characters in the specified training files.
| TrainFileNames (input_control) | filename.read(-array) → (string) |
| Names of the training files. | |
| Default value: ” | |
| File extension: .trf | |
| CharacterNames (output_control) | string(-array) → (string) |
| Names of the read characters. | |
| CharacterCount (output_control) | integer(-array) → (integer) |
| Number of the characters. | |
If the parameter values are correct the operator read_ocr_trainf_names returns the value 2 (H_MSG_TRUE). Otherwise an exception is raised.
read_ocr_trainf_names is reentrant and processed without parallelization.
OCR/OCV
| HALCON Reference Manual / OCR / Training-Files | Operators |
| Version 9.0.2 | Copyright © 1996-2010 MVTec Software GmbH |