Table of Contents

Class ScanbotOcrEngine

Namespace
IO.Scanbot.Sdk.Ocr
Assembly
DocumentSDK.NET.Droid.dll
public sealed class ScanbotOcrEngine : Object, IOcrEngine, IJavaObject, IDisposable, IJavaPeerable
Inheritance
ScanbotOcrEngine
Implements

Constructors

ScanbotOcrEngine(Context, BlobManager, SapManager, BlobStoreStrategy, PageFileStorage, IFileIOProcessor, OcrSettings, IBitmapBinarizer)

public ScanbotOcrEngine(Context context, BlobManager blobManager, SapManager sapManager, BlobStoreStrategy blobStoreStrategy, PageFileStorage pageFileStorage, IFileIOProcessor fileIOProcessor, OcrSettings ocrSettings, OcrPdfGenerator.IBitmapBinarizer bitmapBinarizer)

Parameters

context Context
blobManager BlobManager
sapManager SapManager
blobStoreStrategy BlobStoreStrategy
pageFileStorage PageFileStorage
fileIOProcessor IFileIOProcessor
ocrSettings OcrSettings
bitmapBinarizer OcrPdfGenerator.IBitmapBinarizer

Fields

J

public const string J = "scanbotOcrEngine"

Field Value

string

Properties

A

public Context A { get; set; }

Property Value

Context

B

public BlobManager B { get; set; }

Property Value

BlobManager

C

public SapManager C { get; set; }

Property Value

SapManager

D

public BlobStoreStrategy D { get; set; }

Property Value

BlobStoreStrategy

E

public PageFileStorage E { get; set; }

Property Value

PageFileStorage

F

public IFileIOProcessor F { get; set; }

Property Value

IFileIOProcessor

G

public OcrSettings G { get; set; }

Property Value

OcrSettings

H

public OcrPdfGenerator.IBitmapBinarizer H { get; set; }

Property Value

OcrPdfGenerator.IBitmapBinarizer

I

public IOcrEngine.OcrConfig I { get; set; }

Property Value

IOcrEngine.OcrConfig

InstalledLanguages

public ICollection<Language> InstalledLanguages { get; }

Property Value

ICollection<Language>

LanguageDataPath

public File LanguageDataPath { get; }

Property Value

File

Methods

RecognizeFromBitmap(Bitmap)

public OcrResult RecognizeFromBitmap(Bitmap bitmap)

Parameters

bitmap Bitmap

Returns

OcrResult

RecognizeFromDocument(Document)

public OcrResult RecognizeFromDocument(Document document)

Parameters

document Document

Returns

OcrResult

RecognizeFromPages(IList<Page>)

public OcrResult RecognizeFromPages(IList<Page> pages)

Parameters

pages IList<Page>

Returns

OcrResult

RecognizeFromUris(IList<Uri>, bool)

public OcrResult RecognizeFromUris(IList<Uri> imageFileUris, bool sourceFilesEncrypted)

Parameters

imageFileUris IList<Uri>
sourceFilesEncrypted bool

Returns

OcrResult

SetOcrConfig(OcrConfig)

public void SetOcrConfig(IOcrEngine.OcrConfig ocrConfig)

Parameters

ocrConfig IOcrEngine.OcrConfig