Class ReceiptRecognitionSettings

Class ReceiptRecognitionSettings

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

レシート認識の設定。
認識プロセスをカスタマイズするための要素を含みます。

public class ReceiptRecognitionSettings

継承

objectReceiptRecognitionSettings

派生

IDCardRecognitionSettings, InvoiceRecognitionSettings, PassportRecognitionSettings

継承されたメンバー

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

コンストラクター

ReceiptRecognitionSettings(Language)

Aspose.OCR.ReceiptRecognitionSettingsクラスの新しいインスタンスを、すべてのプロパティを持つ状態で初期化します。

public ReceiptRecognitionSettings(Language language)

パラメーター

language Language

OCRに使用される言語。

ReceiptRecognitionSettings()

Aspose.OCR.ReceiptRecognitionSettingsクラスの新しいインスタンスを、デフォルトのプロパティセットで初期化します。

public ReceiptRecognitionSettings()

プロパティ

AllowedCharacters

許可される文字のセット。認識結果に許可される文字のタイプを決定します。

public CharactersAllowedType AllowedCharacters { get; set; }

プロパティ値

CharactersAllowedType

AutomaticColorInversion

暗い/黒い背景に白いテキストの画像を検出し、それらに特別なOCRアルゴリズムを自動的に選択します。

public bool AutomaticColorInversion { get; set; }

プロパティ値

bool

IgnoredSymbols

認識シンボルのブラックリストを設定します。

public string IgnoredSymbols { get; set; }

プロパティ値

string

Language

OCRに使用される言語を取得または設定します。

認識中に使用されるアルファベットを決定します。
デフォルトで多言語対応。

public Language Language { get; set; }

プロパティ値

Language

ThreadsCount

処理のスレッド数を取得または設定します。
デフォルトでは、0は画像がプロセッサの数に等しいスレッド数で処理されることを意味します。
ThreadsCount = 1は、画像がメインスレッドで処理されることを意味します。

public int ThreadsCount { get; set; }

プロパティ値

int

 日本語