Table of Contents

Class OcrConfig

Namespace
ScanbotSDK.MAUI.Common
Assembly
DocumentSDK.MAUI.dll
public class OcrConfig
Inheritance
OcrConfig
Inherited Members
Extension Methods

Properties

InstalledLanguages

public List<string> InstalledLanguages { get; set; }

Property Value

List<string>

LanguageDataPath

public string LanguageDataPath { get; set; }

Property Value

string

OcrMode

public OCRMode OcrMode { get; set; }

Property Value

OCRMode

ScanbotOCR

The new default ML based OCR engine. [OCRMode.ScanbotOCR]. This engine mode doesn't need to set the Langauges array.

public static OcrConfig ScanbotOCR { get; }

Property Value

OcrConfig

Methods

Tesseract(List<string>)

The legacy OCR engine based on Tesseract. [OCRMode.Tesseract] This engine mode needs to set the Langauges array.

public static OcrConfig Tesseract(List<string> withLanguageString)

Parameters

withLanguageString List<string>

Language string array

Returns

OcrConfig