ReceiptRecognitionSettings

ReceiptRecognitionSettings class

Settings for the receipt recognition.
Contains elements that allow customizing the recognition process.

The ReceiptRecognitionSettings type exposes the following members:

Constructors

NameDescription
ReceiptRecognitionSettings(language)Initializes a new instance of the ReceiptRecognitionSettings class
ReceiptRecognitionSettings()Initializes a new instance of the

Properties

NameDescription
threads_countGets or sets the number fo threads for processing. By default, 0 means that the image will be processed with the number of threads equal to your number of processors. ThreadsCount = 1 means that the image will be processed in the main thread.
languageGets or sets the language used for OCR. Determines the alphabet used during recognition. Multi-language by default.
automatic_color_inversionDetect images with white text on dark/black background and automatically choose a special OCR algorithm for them.
ignored_symbolsSets blacklist for recognition symbols.
ignored_charactersSets blacklist for recognition symbols.
preprocessing_filtersAllows to prepare the image for OCR by adjusting pre-processing methods.
allowed_charactersAllowed characters set. Determines the type of characters allowed for recognition result.

See Also