Class ReceiptRecognitionSettings
Namespace: Aspose.OCR
Assembly: Aspose.OCR.dll (25.2.0)
Settings for the receipt recognition. Contains elements that allow customizing the recognition process.
public class ReceiptRecognitionSettings
Inheritance
object ← ReceiptRecognitionSettings
Derived
IDCardRecognitionSettings, InvoiceRecognitionSettings, PassportRecognitionSettings
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
ReceiptRecognitionSettings(Language)
Initializes a new instance of the Aspose.OCR.ReceiptRecognitionSettings class with full set of properties.
public ReceiptRecognitionSettings(Language language)
Parameters
language
Language
Language used for OCR.
ReceiptRecognitionSettings()
Initializes a new instance of the Aspose.OCR.ReceiptRecognitionSettings class with default set of properties.
public ReceiptRecognitionSettings()
Properties
AllowedCharacters
Allowed characters set. Determines the type of characters allowed for recognition result.
public CharactersAllowedType AllowedCharacters { get; set; }
Property Value
AutomaticColorInversion
Detect images with white text on dark/black background and automatically choose a special OCR algorithm for them.
public bool AutomaticColorInversion { get; set; }
Property Value
IgnoredSymbols
Sets blacklist for recognition symbols.
public string IgnoredSymbols { get; set; }
Property Value
Language
Gets or sets the language used for OCR.
public Language Language { get; set; }
Property Value
ThreadsCount
Gets or sets the number fo threads for processing.
public int ThreadsCount { get; set; }