KlassenKlassenKlassenKlassen | | | | Operatoren

read_ocr_trainf_names_protectedread_ocr_trainf_names_protectedReadOcrTrainfNamesProtectedread_ocr_trainf_names_protectedReadOcrTrainfNamesProtectedReadOcrTrainfNamesProtected (Operator)

Name

read_ocr_trainf_names_protectedread_ocr_trainf_names_protectedReadOcrTrainfNamesProtectedread_ocr_trainf_names_protectedReadOcrTrainfNamesProtectedReadOcrTrainfNamesProtected — Abfragen der Zeichen, die in (geschützten) Trainings-Dateien abgelegt sind.

Signatur

read_ocr_trainf_names_protected( : : TrainingFile, Password : CharacterNames, CharacterCount)

Herror read_ocr_trainf_names_protected(const char* TrainingFile, const char* Password, char* CharacterNames, Hlong* CharacterCount)

Herror T_read_ocr_trainf_names_protected(const Htuple TrainingFile, const Htuple Password, Htuple* CharacterNames, Htuple* CharacterCount)

Herror read_ocr_trainf_names_protected(const HTuple& TrainingFile, const HTuple& Password, char* CharacterNames, Hlong* CharacterCount)

Herror read_ocr_trainf_names_protected(const HTuple& TrainingFile, const HTuple& Password, HTuple* CharacterNames, HTuple* CharacterCount)

void ReadOcrTrainfNamesProtected(const HTuple& TrainingFile, const HTuple& Password, HTuple* CharacterNames, HTuple* CharacterCount)

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

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

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

void HOperatorSetX.ReadOcrTrainfNamesProtected(
[in] VARIANT TrainingFile, [in] VARIANT Password, [out] VARIANT* CharacterNames, [out] VARIANT* CharacterCount)

VARIANT HMiscX.ReadOcrTrainfNamesProtected(
[in] VARIANT TrainingFile, [in] VARIANT Password, [out] VARIANT* CharacterCount)

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

static HTuple HMisc.ReadOcrTrainfNamesProtected(HTuple trainingFile, HTuple password, out HTuple characterCount)

static string HMisc.ReadOcrTrainfNamesProtected(string trainingFile, string password, out int characterCount)

Beschreibung

read_ocr_trainf_names_protectedread_ocr_trainf_names_protectedReadOcrTrainfNamesProtectedread_ocr_trainf_names_protectedReadOcrTrainfNamesProtectedReadOcrTrainfNamesProtected bestimmt die Namen aller Zeichen und deren Anzahl in den angegebenen Trainings-Dateien. Die Funktionalität des Operators entspricht der Funktionalität von read_ocr_trainf_namesread_ocr_trainf_namesReadOcrTrainfNamesread_ocr_trainf_namesReadOcrTrainfNamesReadOcrTrainfNames, mit der Erweiterung, dass read_ocr_trainf_names_protectedread_ocr_trainf_names_protectedReadOcrTrainfNamesProtectedread_ocr_trainf_names_protectedReadOcrTrainfNamesProtectedReadOcrTrainfNamesProtected sowohl ungeschützte als auch geschützte Trainingsdateien verarbeiten kann. Geschützte Trainingsdateien können nur mit dem korrekten Benutzerpasswort PasswordPasswordPasswordPasswordPasswordpassword verwendet werden. Falls genau ein Passwort PasswordPasswordPasswordPasswordPasswordpassword übergeben wird, werden alle Eingabedateien TrainingFileTrainingFileTrainingFileTrainingFileTrainingFiletrainingFile mit diesem Passwort überprüft, ansonsten muss die Anzahl der Passworte gleich der Anzahl der Eingabedateien sein, und die Eingabedatei an Position n wird mit dem Passwort an Position n überprüft. Für ungeschützte Trainingsdateien werden die übergebenen Passworte ignoriert.

Für eine genauere Beschreibung der Operatorfunktionalität siehe read_ocr_trainf_namesread_ocr_trainf_namesReadOcrTrainfNamesread_ocr_trainf_namesReadOcrTrainfNamesReadOcrTrainfNames. Das Konzept des Schützens von OCR-Trainingsdaten in HALCON ist in protect_ocr_trainfprotect_ocr_trainfProtectOcrTrainfprotect_ocr_trainfProtectOcrTrainfProtectOcrTrainf beschrieben.

Parallelisierung

Parameter

TrainingFileTrainingFileTrainingFileTrainingFileTrainingFiletrainingFile (input_control)  filename.read(-array) HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

Namen der Trainingsdateien.

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

Dateiendung: .trf, .otr

PasswordPasswordPasswordPasswordPasswordpassword (input_control)  string(-array) HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

Passworte für geschützte Trainingsdateien.

CharacterNamesCharacterNamesCharacterNamesCharacterNamesCharacterNamescharacterNames (output_control)  string(-array) HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

Bezeichnung der eingelesenen Zeichen.

CharacterCountCharacterCountCharacterCountCharacterCountCharacterCountcharacterCount (output_control)  integer(-array) HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Anzahl der jeweiligen Zeichen.

Ergebnis

Sind die Parameterwerte korrekt, dann liefert read_ocr_trainf_names_protectedread_ocr_trainf_names_protectedReadOcrTrainfNamesProtectedread_ocr_trainf_names_protectedReadOcrTrainfNamesProtectedReadOcrTrainfNamesProtected den Wert 2 (H_MSG_TRUE). Andernfalls wird eine Fehlerbehandlung durchgeführt.

Vorgänger

protect_ocr_trainfprotect_ocr_trainfProtectOcrTrainfprotect_ocr_trainfProtectOcrTrainfProtectOcrTrainf

Siehe auch

read_ocr_trainf_namesread_ocr_trainf_namesReadOcrTrainfNamesread_ocr_trainf_namesReadOcrTrainfNamesReadOcrTrainfNames

Modul

OCR/OCV


KlassenKlassenKlassenKlassen | | | | Operatoren