HALCON Reference Manual / OCR / Training-Files Operators

read_ocr_trainf_names (Operator)

Name

read_ocr_trainf_names — Query which characters are stored in a training file.

Synopsis

read_ocr_trainf_names( : : TrainFileNames : CharacterNames, CharacterCount)

Description

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

Parameters

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.

Result

If the parameter values are correct the operator read_ocr_trainf_names returns the value 2 (H_MSG_TRUE). Otherwise an exception is raised.

Parallelization Information

read_ocr_trainf_names is reentrant and processed without parallelization.

Possible Predecessors

write_ocr_trainf

See also

trainf_ocr_class_box

Module

OCR/OCV


HALCON Reference Manual / OCR / Training-Files Operators
Version 9.0.2 Copyright © 1996-2010 MVTec Software GmbH