Class ReceiptRecognitionSettings

Class ReceiptRecognitionSettings

名称: Aspose.OCR 集合: Aspose.OCR.dll (25.4.0)

接收识别的设置。它包含允许定制识别过程的元素。

public class ReceiptRecognitionSettings

Inheritance

object ReceiptRecognitionSettings

Derived

IDCardRecognitionSettings , InvoiceRecognitionSettings , PassportRecognitionSettings

继承人

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

Constructors

ReceiptRecognitionSettings(Language)

启动 Aspose.OCR.ReceiptRecognitionSettings 类的新例子,包含完整的属性。

public ReceiptRecognitionSettings(Language language)

Parameters

language Language

使用 OCR 的语言。

ReceiptRecognitionSettings()

启动 Aspose.OCR.ReceiptRecognitionSettings 类的新例子,默认设置属性。

public ReceiptRecognitionSettings()

Properties

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

接收或设置处理的 fo 线号。默认情况下,0 意味着图像将以与您的处理器数量相同的线条数量进行处理。ThreadsCount = 1 表示图像将在主线中进行处理。

public int ThreadsCount { get; set; }

财产价值

int

 中文