OcrOptions

OcrOptions class

Options for comparing images by the text recognized in them instead of by their pixels.

public class OcrOptions

Constructors

Name Description
OcrOptions() Initializes a new instance of the OcrOptions class.

Properties

Name Description
DisableResourceDownloads { get; set; } Gets or sets a value indicating whether to prevent downloading recognition models.
DisplayMode { get; set; } Gets or sets how the comparison result is laid out.
Enabled { get; set; } Gets or sets a value indicating whether to compare the recognized text.
Language { get; set; } Gets or sets the language of the text to recognize.
ResourcesPath { get; set; } Gets or sets the folder that contains the recognition models.

Examples

CompareOptions options = new CompareOptions
{
    Ocr = new OcrOptions { Enabled = true }
};

See Also