PassportRecognitionSettings class

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

public class PassportRecognitionSettings : ReceiptRecognitionSettings


Name Description
PassportRecognitionSettings(Language) Initializes a new instance of the PassportRecognitionSettings class with full set of properties.


Name Description
AllowedCharacters { get; set; } Allowed characters set. Determines the type of characters allowed for recognition result.
AutoSkew { set; } Gets or sets a flag indicating whether automatic image skew correction should be enabled. Enabled (true) by default.
IgnoredSymbols { get; set; } Sets blacklist for recognition symbols.
Language { set; } Gets or sets the language used for OCR. Determines the alphabet used during recognition. Multi-language by default.
PreprocessingFilters { get; set; } Allows to prepare the image for OCR by adjusting pre-processing methods.
ThreadsCount { set; } Gets 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.

See Also