Table of Contents

Class ScanbotOcrEngineManager

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

Constructors

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

[Register(".ctor", "(Landroid/content/Context;Lio/scanbot/sdk/blob/BlobManager;Lio/scanbot/sap/SapManager;Lio/scanbot/sdk/persistence/BlobStoreStrategy;Lio/scanbot/sdk/persistence/page/legacy/PageFileStorage;Lio/scanbot/sdk/persistence/fileio/FileIOProcessor;Lio/scanbot/sdk/ocr/intelligence/OcrSettings;Lio/scanbot/sdk/ocr/pdf/BitmapBinarizer;)V", "")]
public ScanbotOcrEngineManager(Context context, BlobManager blobManager, SapManager sapManager, BlobStoreStrategy blobStoreStrategy, PageFileStorage pageFileStorage, IFileIOProcessor fileIOProcessor, OcrSettings ocrSettings, IBitmapBinarizer bitmapBinarizer)

Parameters

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

Properties

InstalledLanguages

public ICollection<Language> InstalledLanguages { get; }

Property Value

ICollection<Language>

LanguageDataPath

public File LanguageDataPath { get; }

Property Value

File

Methods

RecognizeFromBitmap(Bitmap)

[Register("recognizeFromBitmap", "(Landroid/graphics/Bitmap;)Lio/scanbot/common/Result;", "")]
public IResult RecognizeFromBitmap(Bitmap bitmap)

Parameters

bitmap Bitmap

Returns

IResult

RecognizeFromDocument(Document)

[Register("recognizeFromDocument", "(Lio/scanbot/sdk/docprocessing/Document;)Lio/scanbot/common/Result;", "")]
public IResult RecognizeFromDocument(Document document)

Parameters

document Document

Returns

IResult

RecognizeFromImageRefs(IList<ImageRef>)

[Register("recognizeFromImageRefs", "(Ljava/util/List;)Lio/scanbot/common/Result;", "")]
public IResult RecognizeFromImageRefs(IList<ImageRef> images)

Parameters

images IList<ImageRef>

Returns

IResult

RecognizeFromPages(IList<Page>)

[Obsolete("deprecated")]
[Register("recognizeFromPages", "(Ljava/util/List;)Lio/scanbot/common/Result;", "")]
public IResult RecognizeFromPages(IList<Page> pages)

Parameters

pages IList<Page>

Returns

IResult

RecognizeFromUris(IList<Uri>, bool)

[Register("recognizeFromUris", "(Ljava/util/List;Z)Lio/scanbot/common/Result;", "")]
public IResult RecognizeFromUris(IList<Uri> imageFileUris, bool sourceFilesEncrypted)

Parameters

imageFileUris IList<Uri>
sourceFilesEncrypted bool

Returns

IResult

SetOcrConfig(OcrConfig)

[Register("setOcrConfig", "(Lio/scanbot/sdk/ocr/OcrEngineManager$OcrConfig;)V", "")]
public void SetOcrConfig(IOcrEngineManager.OcrConfig ocrConfig)

Parameters

ocrConfig IOcrEngineManager.OcrConfig