PassportRecognitionSettings

PassportRecognitionSettings class

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

public class PassportRecognitionSettings : ReceiptRecognitionSettings

Constructors

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

Properties

NameDescription
AllowedCharacters { get; set; }Allowed characters set. Determines the type of characters allowed for recognition result.
AutomaticColorInversion { get; set; }Detect images with white text on dark/black background and automatically choose a special OCR algorithm for them.
Country { get; set; }Set the template for passport recognition and to extract the keywords.
IgnoredSymbols { get; set; }Sets blacklist for recognition symbols.
Language { get; set; }Gets or sets the language used for OCR. Determines the alphabet used during recognition. Multi-language by default.
ThreadsCount { get; 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