Herror ::read_ocr_trainf_names (
    const HTuple &TrainFileNames,
    char *CharacterNames,
    long *CharacterCount
)
Herror ::read_ocr_trainf_names (
    const HTuple &TrainFileNames,
    HTuple *CharacterNames,
    HTuple *CharacterCount
)

Query which characters are stored in a training file.

::read_ocr_trainf_names extracts the names and frequency of all characters in the specified training files.


Parameters

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

CharacterNames (output_control)
string(-array) -> (HTuple.) char *
Names of the read characters.

CharacterCount (output_control)
integer(-array) -> (HTuple.) long *
Number of the characters.


Result

If the parameter values are correct the operator ::read_ocr_trainf_names returns the value H_MSG_TRUE. Otherwise an exception handling is raised.


Possible Predecessors

::write_ocr_trainf


See also

::trainf_ocr_class_box


Module

Optical character recognition



Copyright © 1996-2002 MVTec Software GmbH