read_ocr_trainf_namesread_ocr_trainf_namesReadOcrTrainfNamesReadOcrTrainfNamesread_ocr_trainf_names (Operator)

Name

read_ocr_trainf_namesread_ocr_trainf_namesReadOcrTrainfNamesReadOcrTrainfNamesread_ocr_trainf_names — Abfragen der Zeichen, die in Trainings-Dateien abgelegt sind.

Signatur

read_ocr_trainf_names( : : TrainingFile : CharacterNames, CharacterCount)

Herror read_ocr_trainf_names(const char* TrainingFile, char* CharacterNames, Hlong* CharacterCount)

Herror T_read_ocr_trainf_names(const Htuple TrainingFile, Htuple* CharacterNames, Htuple* CharacterCount)

void ReadOcrTrainfNames(const HTuple& TrainingFile, HTuple* CharacterNames, HTuple* CharacterCount)

static HTuple HMisc::ReadOcrTrainfNames(const HTuple& TrainingFile, HTuple* CharacterCount)

static HString HMisc::ReadOcrTrainfNames(const HString& TrainingFile, Hlong* CharacterCount)

static HString HMisc::ReadOcrTrainfNames(const char* TrainingFile, Hlong* CharacterCount)

static HString HMisc::ReadOcrTrainfNames(const wchar_t* TrainingFile, Hlong* CharacterCount)   (Nur Windows)

static void HOperatorSet.ReadOcrTrainfNames(HTuple trainingFile, out HTuple characterNames, out HTuple characterCount)

static HTuple HMisc.ReadOcrTrainfNames(HTuple trainingFile, out HTuple characterCount)

static string HMisc.ReadOcrTrainfNames(string trainingFile, out int characterCount)

def read_ocr_trainf_names(training_file: MaybeSequence[str]) -> Tuple[Sequence[str], Sequence[int]]

def read_ocr_trainf_names_s(training_file: MaybeSequence[str]) -> Tuple[str, int]

Beschreibung

read_ocr_trainf_namesread_ocr_trainf_namesReadOcrTrainfNamesReadOcrTrainfNamesReadOcrTrainfNamesread_ocr_trainf_names bestimmt die Namen aller Zeichen und deren Anzahl in den angegebenen Trainings-Dateien.

Ausführungsinformationen

Parameter

TrainingFileTrainingFileTrainingFileTrainingFiletrainingFiletraining_file (input_control)  filename.read(-array) HTupleMaybeSequence[str]HTupleHtuple (string) (string) (HString) (char*)

Namen der Trainingsdateien.

Defaultwert: '' "" "" "" "" ""

Dateiendung: .trf, .otr

CharacterNamesCharacterNamesCharacterNamesCharacterNamescharacterNamescharacter_names (output_control)  string(-array) HTupleSequence[str]HTupleHtuple (string) (string) (HString) (char*)

Bezeichnung der eingelesenen Zeichen.

CharacterCountCharacterCountCharacterCountCharacterCountcharacterCountcharacter_count (output_control)  integer(-array) HTupleSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Anzahl der jeweiligen Zeichen.

Ergebnis

Sind die Parameterwerte korrekt, dann liefert read_ocr_trainf_namesread_ocr_trainf_namesReadOcrTrainfNamesReadOcrTrainfNamesReadOcrTrainfNamesread_ocr_trainf_names den Wert TRUE. Andernfalls wird eine Fehlerbehandlung durchgeführt.

Vorgänger

write_ocr_trainfwrite_ocr_trainfWriteOcrTrainfWriteOcrTrainfWriteOcrTrainfwrite_ocr_trainf

Siehe auch

trainf_ocr_class_svmtrainf_ocr_class_svmTrainfOcrClassSvmTrainfOcrClassSvmTrainfOcrClassSvmtrainf_ocr_class_svm, trainf_ocr_class_mlptrainf_ocr_class_mlpTrainfOcrClassMlpTrainfOcrClassMlpTrainfOcrClassMlptrainf_ocr_class_mlp

Modul

OCR/OCV