read_ocr_trainf_namesread_ocr_trainf_namesReadOcrTrainfNamesReadOcrTrainfNames (Operator)
Name
read_ocr_trainf_namesread_ocr_trainf_namesReadOcrTrainfNamesReadOcrTrainfNames — Query which characters are stored in a training file.
Signature
Description
read_ocr_trainf_namesread_ocr_trainf_namesReadOcrTrainfNamesReadOcrTrainfNamesReadOcrTrainfNames extracts the names and frequency of all
characters in the specified training files.
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
TrainingFileTrainingFileTrainingFileTrainingFiletrainingFile (input_control) filename.read(-array) → HTupleHTupleHtuple (string) (string) (HString) (char*)
Names of the training files.
Default value:
''
""
""
""
""
File extension: .trf, .otr
CharacterNamesCharacterNamesCharacterNamesCharacterNamescharacterNames (output_control) string(-array) → HTupleHTupleHtuple (string) (string) (HString) (char*)
Names of the read characters.
CharacterCountCharacterCountCharacterCountCharacterCountcharacterCount (output_control) integer(-array) → HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Number of characters.
Result
If the parameter values are correct the operator
read_ocr_trainf_namesread_ocr_trainf_namesReadOcrTrainfNamesReadOcrTrainfNamesReadOcrTrainfNames returns the value 2 (H_MSG_TRUE).
Otherwise an exception is raised.
Possible Predecessors
write_ocr_trainfwrite_ocr_trainfWriteOcrTrainfWriteOcrTrainfWriteOcrTrainf
See also
trainf_ocr_class_svmtrainf_ocr_class_svmTrainfOcrClassSvmTrainfOcrClassSvmTrainfOcrClassSvm,
trainf_ocr_class_mlptrainf_ocr_class_mlpTrainfOcrClassMlpTrainfOcrClassMlpTrainfOcrClassMlp
Module
OCR/OCV