Table of Contents

Class ScanbotOpticalCharacterRecognizer

Namespace
IO.Scanbot.Sdk.Ocr
Assembly
DocumentSDK.NET.Droid.dll
[Register("io/scanbot/sdk/ocr/ScanbotOpticalCharacterRecognizer", DoNotGenerateAcw = true)]
public sealed class ScanbotOpticalCharacterRecognizer : Object, IOpticalCharacterRecognizer, IJavaObject, IJavaPeerable, IDisposable
Inheritance
ScanbotOpticalCharacterRecognizer
Implements
Inherited Members

Constructors

ScanbotOpticalCharacterRecognizer(Context, BlobManager, SapManager, OcrPdfRenderer, DocumentStoreStrategy, SimpleComposer, BlobStoreStrategy, PageFileStorage, IFileIOProcessor, OcrSettings, IBitmapBinarizer)

[Register(".ctor", "(Landroid/content/Context;Lio/scanbot/sdk/blob/BlobManager;Lio/scanbot/sap/SapManager;Lio/scanbot/sdk/ocr/intelligence/OcrPdfRenderer;Lio/scanbot/sdk/persistence/DocumentStoreStrategy;Lio/scanbot/sdk/docprocessing/compose/SimpleComposer;Lio/scanbot/sdk/persistence/BlobStoreStrategy;Lio/scanbot/sdk/persistence/PageFileStorage;Lio/scanbot/sdk/persistence/fileio/FileIOProcessor;Lio/scanbot/sdk/ocr/intelligence/OcrSettings;Lio/scanbot/sdk/ocr/intelligence/OcrPdfRenderer$BitmapBinarizer;)V", "")]
public ScanbotOpticalCharacterRecognizer(Context context, BlobManager blobManager, SapManager sapManager, OcrPdfRenderer pdfRenderer, DocumentStoreStrategy documentStoreStrategy, SimpleComposer simpleComposer, BlobStoreStrategy blobStoreStrategy, PageFileStorage pageFileStorage, IFileIOProcessor fileIOProcessor, OcrSettings ocrSettings, OcrPdfRenderer.IBitmapBinarizer bitmapBinarizer)

Parameters

context Context
blobManager BlobManager
sapManager SapManager
pdfRenderer OcrPdfRenderer
documentStoreStrategy DocumentStoreStrategy
simpleComposer SimpleComposer
blobStoreStrategy BlobStoreStrategy
pageFileStorage PageFileStorage
fileIOProcessor IFileIOProcessor
ocrSettings OcrSettings
bitmapBinarizer OcrPdfRenderer.IBitmapBinarizer

Properties

A

[Register("a")]
public Context A { get; set; }

Property Value

Context

B

[Register("b")]
public BlobManager B { get; set; }

Property Value

BlobManager

C

[Register("c")]
public SapManager C { get; set; }

Property Value

SapManager

D

[Register("d")]
public OcrPdfRenderer D { get; set; }

Property Value

OcrPdfRenderer

E

[Register("e")]
public DocumentStoreStrategy E { get; set; }

Property Value

DocumentStoreStrategy

F

[Register("f")]
public SimpleComposer F { get; set; }

Property Value

SimpleComposer

G

[Register("g")]
public BlobStoreStrategy G { get; set; }

Property Value

BlobStoreStrategy

H

[Register("h")]
public PageFileStorage H { get; set; }

Property Value

PageFileStorage

I

[Register("i")]
public IFileIOProcessor I { get; set; }

Property Value

IFileIOProcessor

InstalledLanguages

public ICollection<Language> InstalledLanguages { get; }

Property Value

ICollection<Language>

J

[Register("j")]
public OcrSettings J { get; set; }

Property Value

OcrSettings

K

[Register("k")]
public OcrPdfRenderer.IBitmapBinarizer K { get; set; }

Property Value

OcrPdfRenderer.IBitmapBinarizer

L

[Register("l")]
public IOpticalCharacterRecognizer.OcrConfig L { get; set; }

Property Value

IOpticalCharacterRecognizer.OcrConfig

LanguageDataPath

public File LanguageDataPath { get; }

Property Value

File

Methods

RecognizeTextFromBitmap(Bitmap)

[Register("recognizeTextFromBitmap", "(Landroid/graphics/Bitmap;)Lio/scanbot/sdk/ocr/process/OcrResult;", "")]
public OcrResult RecognizeTextFromBitmap(Bitmap bitmap)

Parameters

bitmap Bitmap

Returns

OcrResult

RecognizeTextFromPages(IList<Page>)

[Register("recognizeTextFromPages", "(Ljava/util/List;)Lio/scanbot/sdk/ocr/process/OcrResult;", "")]
public OcrResult RecognizeTextFromPages(IList<Page> pages)

Parameters

pages IList<Page>

Returns

OcrResult

RecognizeTextFromUris(IList<Uri>, bool)

[Register("recognizeTextFromUris", "(Ljava/util/List;Z)Lio/scanbot/sdk/ocr/process/OcrResult;", "")]
public OcrResult RecognizeTextFromUris(IList<Uri> imageFileUris, bool sourceFilesEncrypted)

Parameters

imageFileUris IList<Uri>
sourceFilesEncrypted bool

Returns

OcrResult

RecognizeTextWithPdfFromPages(IList<Page>, PdfConfig)

[Register("recognizeTextWithPdfFromPages", "(Ljava/util/List;Lio/scanbot/pdf/model/PdfConfig;)Lio/scanbot/sdk/ocr/process/OcrResult;", "")]
public OcrResult RecognizeTextWithPdfFromPages(IList<Page> pages, PdfConfig pdfConfig)

Parameters

pages IList<Page>
pdfConfig PdfConfig

Returns

OcrResult

RecognizeTextWithPdfFromUris(IList<Uri>, bool, PdfConfig)

[Register("recognizeTextWithPdfFromUris", "(Ljava/util/List;ZLio/scanbot/pdf/model/PdfConfig;)Lio/scanbot/sdk/ocr/process/OcrResult;", "")]
public OcrResult RecognizeTextWithPdfFromUris(IList<Uri> imageFileUris, bool sourceFilesEncrypted, PdfConfig pdfConfig)

Parameters

imageFileUris IList<Uri>
sourceFilesEncrypted bool
pdfConfig PdfConfig

Returns

OcrResult