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; }
财产价值
AutomaticColorInversion
在黑色/黑色背景上检测白色文本的图像,并自动为它们选择一个特殊的OCR算法。
public bool AutomaticColorInversion { get; set; }
财产价值
IgnoredSymbols
将黑名单设置为识别符号。
public string IgnoredSymbols { get; set; }
财产价值
Language
获取或设置用于 OCR 的语言。
public Language Language { get; set; }
财产价值
ThreadsCount
接收或设置处理的 fo 线号。
public int ThreadsCount { get; set; }