Class RecognitionSettings

Class RecognitionSettings

Namespace: Aspose.OCR
Assembly: Aspose.OCR.dll (25.1.0)

הגדרות עבור זיהוי התמונה.
מכיל אלמנטים המאפשרים להתאים אישית את תהליך הזיהוי.

public class RecognitionSettings : BaseRecognitionSettings

ירושה

objectBaseRecognitionSettingsRecognitionSettings

חברים מורשים

BaseRecognitionSettings.ThreadsCount, BaseRecognitionSettings.Language, BaseRecognitionSettings.IgnoredSymbols, BaseRecognitionSettings.AllowedSymbols, BaseRecognitionSettings.LinesFiltration, BaseRecognitionSettings.AllowedCharacters, BaseRecognitionSettings.DetectAreasMode, BaseRecognitionSettings.AutomaticColorInversion, BaseRecognitionSettings.UpscaleSmallFont, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

בונים

RecognitionSettings()

מאתחל מופע חדש של מחלקת Aspose.OCR.RecognitionSettings עם skew אוטומטי = true.

public RecognitionSettings()

RecognitionSettings(Language, List<rectangle>, bool)

מאתחל מופע חדש של מחלקת Aspose.OCR.RecognitionSettings עם סט מלא של תכונות.

public RecognitionSettings(Language language = Language.Latin, List<rectangle> recognitionAreas = null, bool recognizeSingleLine = false)

פרמטרים

language Language

שפה בשימוש עבור OCR.

recognitionAreas List<rectangle>

אזורי זיהוי שנקבעו ידנית. ברירת מחדל היא null - כלומר התמונה כולה מעובדת.

recognizeSingleLine bool

עבור תמונות עם שורה אחת

תכונות

RecognitionAreas

מקבל או קובע את רשימת אזורי הטקסט לעיבוד.

מאפשר לקבוע ידנית את האזורים עם טקסט לזיהוי מדויק יותר.

מבטל את AutoSkew.

public List<rectangle> RecognitionAreas { get; set; }

ערך תכונה

List<rectangle>

RecognizeSingleLine

מגדיר זיהוי תמונה בשורה אחת.
מושבת (false) כברירת מחדל.
מבטל את כל שלבי העיבוד הקשורים לפיצול לשורות.
קבע פרמטר זה ל-true אם התמונה שלך מכילה רק שורה אחת. מבטל את הגדרות RecognitionAreas, כך שכל הגדרות האזורים יתעלמו.

public bool RecognizeSingleLine { get; set; }

ערך תכונה

bool

 Ελληνικά