Table of Contents

Class ScanbotSdkModule

Namespace
IO.Scanbot.Sdk.DI
Assembly
DocumentSDK.NET.Droid.dll
public sealed class ScanbotSdkModule : Object
Inheritance
ScanbotSdkModule

Constructors

ScanbotSdkModule()

public ScanbotSdkModule()

Methods

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

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

Parameters

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

Returns

IOcrEngine

PdfGenerator(Context, IFileIOProcessor, IDocumentDraftExtractor, IDraftDocumentProcessor, DocumentStoreStrategy, SimpleComposer, Cleaner, SapManager, OcrPdfGenerator, BlobManager, OcrSettings)

public IPdfGenerator PdfGenerator(Context context, IFileIOProcessor fileIOProcessor, IDocumentDraftExtractor documentDraftExtractor, IDraftDocumentProcessor draftDocumentProcessor, DocumentStoreStrategy documentStoreStrategy, SimpleComposer simpleComposer, Cleaner cleaner, SapManager sapManager, OcrPdfGenerator pdfGenerator, BlobManager blobManager, OcrSettings ocrSettings)

Parameters

context Context
fileIOProcessor IFileIOProcessor
documentDraftExtractor IDocumentDraftExtractor
draftDocumentProcessor IDraftDocumentProcessor
documentStoreStrategy DocumentStoreStrategy
simpleComposer SimpleComposer
cleaner Cleaner
sapManager SapManager
pdfGenerator OcrPdfGenerator
blobManager BlobManager
ocrSettings OcrSettings

Returns

IPdfGenerator

ProvideBarcodeScannerUiResultInternalLruStorage()

public IResultStorage ProvideBarcodeScannerUiResultInternalLruStorage()

Returns

IResultStorage

ProvideBarcodeScannerUiResultInternalRepository(ICollection<IResultStorage>)

public IResultRepository ProvideBarcodeScannerUiResultInternalRepository(ICollection<IResultStorage> storages)

Parameters

storages ICollection<IResultStorage>

Returns

IResultRepository

ProvideBaseComposerFactory(SimpleComposer, JpegComposer)

public BaseComposerFactory ProvideBaseComposerFactory(SimpleComposer simpleComposer, JpegComposer jpegComposer)

Parameters

simpleComposer SimpleComposer
jpegComposer JpegComposer

Returns

BaseComposerFactory

ProvideCleaner(DocumentStoreStrategy, PageStorageProcessor, DraftPageStorageProcessor)

public Cleaner ProvideCleaner(DocumentStoreStrategy documentStoreStrategy, PageStorageProcessor pageStorageProcessor, DraftPageStorageProcessor draftPageStorageProcessor)

Parameters

documentStoreStrategy DocumentStoreStrategy
pageStorageProcessor PageStorageProcessor
draftPageStorageProcessor DraftPageStorageProcessor

Returns

Cleaner

ProvideCombinedDocumentDraftExtractor(DocumentStoreStrategy, ISharedPreferences)

public CombinedDocumentDraftExtractor ProvideCombinedDocumentDraftExtractor(DocumentStoreStrategy documentStoreStrategy, ISharedPreferences sharedPreferences)

Parameters

documentStoreStrategy DocumentStoreStrategy
sharedPreferences ISharedPreferences

Returns

CombinedDocumentDraftExtractor

ProvideComposerCache(Context)

public IComposerCache ProvideComposerCache(Context context)

Parameters

context Context

Returns

IComposerCache

ProvideCreditCardScanner(SapManager)

public ICreditCardScanner ProvideCreditCardScanner(SapManager sapManager)

Parameters

sapManager SapManager

Returns

ICreditCardScanner

ProvideDocumentApi(IDocumentStorage, PageFileStorage, IFileIOProcessor)

public IDocumentApi ProvideDocumentApi(IDocumentStorage documentStorage, PageFileStorage pageFileStorage, IFileIOProcessor fileIOProcessor)

Parameters

documentStorage IDocumentStorage
pageFileStorage PageFileStorage
fileIOProcessor IFileIOProcessor

Returns

IDocumentApi

ProvideDocumentDataExtractor(SapManager)

public IDocumentDataExtractor ProvideDocumentDataExtractor(SapManager sapManager)

Parameters

sapManager SapManager

Returns

IDocumentDataExtractor

ProvideDocumentPageStorageProcessor(IDocumentPageStorage, PageStorageSettings, IFileIOProcessor)

public DocumentPageStorageProcessor ProvideDocumentPageStorageProcessor(IDocumentPageStorage documentPageStorage, PageStorageSettings pageStorageSettings, IFileIOProcessor fileIOProcessor)

Parameters

documentPageStorage IDocumentPageStorage
pageStorageSettings PageStorageSettings
fileIOProcessor IFileIOProcessor

Returns

DocumentPageStorageProcessor

ProvideDocumentStoreStrategy(Context, ISharedPreferences)

public DocumentStoreStrategy ProvideDocumentStoreStrategy(Context context, ISharedPreferences preferences)

Parameters

context Context
preferences ISharedPreferences

Returns

DocumentStoreStrategy

ProvideJpegComposer(DocumentStoreStrategy, PageFileStorage)

public JpegComposer ProvideJpegComposer(DocumentStoreStrategy documentStoreStrategy, PageFileStorage pageFileStorage)

Parameters

documentStoreStrategy DocumentStoreStrategy
pageFileStorage PageFileStorage

Returns

JpegComposer

ProvideMultipleDocumentsDraftExtractor(ISharedPreferences)

public MultipleDocumentsDraftExtractor ProvideMultipleDocumentsDraftExtractor(ISharedPreferences sharedPreferences)

Parameters

sharedPreferences ISharedPreferences

Returns

MultipleDocumentsDraftExtractor

ProvideOcrComposer(BlobManager, OcrPdfGenerator, SimpleComposer, SapManager, OcrSettings)

public OcrComposer ProvideOcrComposer(BlobManager blobManager, OcrPdfGenerator pdfGenerator, SimpleComposer simpleComposer, SapManager sapManager, OcrSettings ocrSettings)

Parameters

blobManager BlobManager
pdfGenerator OcrPdfGenerator
simpleComposer SimpleComposer
sapManager SapManager
ocrSettings OcrSettings

Returns

OcrComposer

ProvideOcrPdfGenerator(DocumentStoreStrategy, BlobStoreStrategy, PageFileStorage, IBitmapBinarizer, IFileIOProcessor, IComposerCache)

public OcrPdfGenerator ProvideOcrPdfGenerator(DocumentStoreStrategy documentStoreStrategy, BlobStoreStrategy blobStoreStrategy, PageFileStorage pageFileStorage, OcrPdfGenerator.IBitmapBinarizer bitmapBinarizer, IFileIOProcessor fileIOProcessor, IComposerCache composerCache)

Parameters

documentStoreStrategy DocumentStoreStrategy
blobStoreStrategy BlobStoreStrategy
pageFileStorage PageFileStorage
bitmapBinarizer OcrPdfGenerator.IBitmapBinarizer
fileIOProcessor IFileIOProcessor
composerCache IComposerCache

Returns

OcrPdfGenerator

ProvideOcrSettings()

public OcrSettings ProvideOcrSettings()

Returns

OcrSettings

ProvidePdfImagesExtractor(IFileIOProcessor, Application)

public IPdfImagesExtractor ProvidePdfImagesExtractor(IFileIOProcessor fileIOProcessor, Application application)

Parameters

fileIOProcessor IFileIOProcessor
application Application

Returns

IPdfImagesExtractor

ProvidePdfPagesExtractor(PageFileStorage, IFileIOProcessor, Application)

public IPdfPagesExtractor ProvidePdfPagesExtractor(PageFileStorage pageFileStorage, IFileIOProcessor fileIOProcessor, Application application)

Parameters

pageFileStorage PageFileStorage
fileIOProcessor IFileIOProcessor
application Application

Returns

IPdfPagesExtractor

ProvideSimpleComposer(DocumentStoreStrategy, PageFileStorage, IFileIOProcessor)

public SimpleComposer ProvideSimpleComposer(DocumentStoreStrategy documentStoreStrategy, PageFileStorage pageFileStorage, IFileIOProcessor fileIOProcessor)

Parameters

documentStoreStrategy DocumentStoreStrategy
pageFileStorage PageFileStorage
fileIOProcessor IFileIOProcessor

Returns

SimpleComposer

ProvideTextPatternScanner(SapManager)

public ITextPatternScanner ProvideTextPatternScanner(SapManager sapManager)

Parameters

sapManager SapManager

Returns

ITextPatternScanner

ProvideVinScanner(SapManager)

public IVinScanner ProvideVinScanner(SapManager sapManager)

Parameters

sapManager SapManager

Returns

IVinScanner

ProvidesBarcodeFileStorage(Application)

public BarcodeFileStorage ProvidesBarcodeFileStorage(Application application)

Parameters

application Application

Returns

BarcodeFileStorage

ProvidesBitmapBinarizer(ImageProcessorBitmapBinarizer)

public OcrPdfGenerator.IBitmapBinarizer ProvidesBitmapBinarizer(ImageProcessorBitmapBinarizer bitmapBinarizer)

Parameters

bitmapBinarizer ImageProcessorBitmapBinarizer

Returns

OcrPdfGenerator.IBitmapBinarizer

ProvidesBlobFactory(BlobStoreStrategy, BlobsStorage, AssetManager)

public BlobFactory ProvidesBlobFactory(BlobStoreStrategy blobStoreStrategy, BlobsStorage blobsStorage, AssetManager assetManager)

Parameters

blobStoreStrategy BlobStoreStrategy
blobsStorage BlobsStorage
assetManager AssetManager

Returns

BlobFactory

ProvidesBlobManager(BlobStoreStrategy, AssetManager, BlobFactory)

public BlobManager ProvidesBlobManager(BlobStoreStrategy blobStoreStrategy, AssetManager assetManager, BlobFactory blobFactory)

Parameters

blobStoreStrategy BlobStoreStrategy
assetManager AssetManager
blobFactory BlobFactory

Returns

BlobManager

ProvidesBlobStoreStrategy(Application, ISharedPreferences)

public BlobStoreStrategy ProvidesBlobStoreStrategy(Application application, ISharedPreferences preferences)

Parameters

application Application
preferences ISharedPreferences

Returns

BlobStoreStrategy

ProvidesBlobsStorage(ISharedPreferences)

public BlobsStorage ProvidesBlobsStorage(ISharedPreferences preferences)

Parameters

preferences ISharedPreferences

Returns

BlobsStorage

ProvidesCheckScanner(SapManager)

public ICheckScanner ProvidesCheckScanner(SapManager sapManager)

Parameters

sapManager SapManager

Returns

ICheckScanner

ProvidesComposerFactory(SapManager, ILazy, ILazy)

public IComposerFactory ProvidesComposerFactory(SapManager sapManager, ILazy baseComposerFactory, ILazy p2ComposerFactory)

Parameters

sapManager SapManager
baseComposerFactory ILazy
p2ComposerFactory ILazy

Returns

IComposerFactory

ProvidesDocumentDraftExtractor(CombinedDocumentDraftExtractor, MultipleDocumentsDraftExtractor)

public IDocumentDraftExtractor ProvidesDocumentDraftExtractor(CombinedDocumentDraftExtractor combinedDocumentDraftExtractor, MultipleDocumentsDraftExtractor multipleDocumentsDraftExtractor)

Parameters

combinedDocumentDraftExtractor CombinedDocumentDraftExtractor
multipleDocumentsDraftExtractor MultipleDocumentsDraftExtractor

Returns

IDocumentDraftExtractor

ProvidesDocumentProcessor(SapManager, DocumentStoreStrategy, IComposerFactory, IProcessorMonitor)

public IDraftDocumentProcessor ProvidesDocumentProcessor(SapManager sapManager, DocumentStoreStrategy documentStoreStrategy, IComposerFactory composerFactory, IProcessorMonitor documentProcessorMonitor)

Parameters

sapManager SapManager
documentStoreStrategy DocumentStoreStrategy
composerFactory IComposerFactory
documentProcessorMonitor IProcessorMonitor

Returns

IDraftDocumentProcessor

ProvidesDocumentProcessorMonitor(DocumentStoreStrategy)

public IProcessorMonitor ProvidesDocumentProcessorMonitor(DocumentStoreStrategy documentStoreStrategy)

Parameters

documentStoreStrategy DocumentStoreStrategy

Returns

IProcessorMonitor

ProvidesDocumentQualityAnalyzer(SapManager)

public IDocumentQualityAnalyzer ProvidesDocumentQualityAnalyzer(SapManager sapManager)

Parameters

sapManager SapManager

Returns

IDocumentQualityAnalyzer

ProvidesDocumentScanner(SapManager)

public IDocumentScanner ProvidesDocumentScanner(SapManager sapManager)

Parameters

sapManager SapManager

Returns

IDocumentScanner

ProvidesDraftPageProcessor(IFileIOProcessor, DraftPageFileStorage, IDocumentScanner)

public DraftPageProcessor ProvidesDraftPageProcessor(IFileIOProcessor fileIOProcessor, DraftPageFileStorage draftPageFileStorage, IDocumentScanner documentScanner)

Parameters

fileIOProcessor IFileIOProcessor
draftPageFileStorage DraftPageFileStorage
documentScanner IDocumentScanner

Returns

DraftPageProcessor

ProvidesDraftPageStorageProcessor(IDocumentScanner, DraftPageStorage, ILegacyPageStorage, PageStorageSettings, IImageFileIOProcessor)

public DraftPageStorageProcessor ProvidesDraftPageStorageProcessor(IDocumentScanner documentScanner, DraftPageStorage draftPageStorage, ILegacyPageStorage mainPageStorage, PageStorageSettings pageStorageSettings, IImageFileIOProcessor imageFileIOProcessor)

Parameters

documentScanner IDocumentScanner
draftPageStorage DraftPageStorage
mainPageStorage ILegacyPageStorage
pageStorageSettings PageStorageSettings
imageFileIOProcessor IImageFileIOProcessor

Returns

DraftPageStorageProcessor

ProvidesHICScanner(SapManager)

public IHealthInsuranceCardScanner ProvidesHICScanner(SapManager sapManager)

Parameters

sapManager SapManager

Returns

IHealthInsuranceCardScanner

ProvidesMRZScanner(SapManager)

public IMrzScanner ProvidesMRZScanner(SapManager sapManager)

Parameters

sapManager SapManager

Returns

IMrzScanner

ProvidesMedicalCertificateScanner(SapManager)

public IMedicalCertificateScanner ProvidesMedicalCertificateScanner(SapManager sapManager)

Parameters

sapManager SapManager

Returns

IMedicalCertificateScanner

ProvidesPageProcessor(IFileIOProcessor, PageFileStorage, IDocumentScanner)

public PageProcessor ProvidesPageProcessor(IFileIOProcessor fileIOProcessor, PageFileStorage pageFileStorage, IDocumentScanner documentScanner)

Parameters

fileIOProcessor IFileIOProcessor
pageFileStorage PageFileStorage
documentScanner IDocumentScanner

Returns

PageProcessor

ProvidesPageStorageProcessor(IDocumentScanner, ILegacyPageStorage, PageStorageSettings, IImageFileIOProcessor)

public PageStorageProcessor ProvidesPageStorageProcessor(IDocumentScanner documentScanner, ILegacyPageStorage pageStorage, PageStorageSettings pageStorageSettings, IImageFileIOProcessor imageFileIOProcessor)

Parameters

documentScanner IDocumentScanner
pageStorage ILegacyPageStorage
pageStorageSettings PageStorageSettings
imageFileIOProcessor IImageFileIOProcessor

Returns

PageStorageProcessor

ProvidesSapManager(Application)

public SapManager ProvidesSapManager(Application application)

Parameters

application Application

Returns

SapManager

ProvidesScanbotAnalyticsManager()

public IScanbotAnalyticsManager ProvidesScanbotAnalyticsManager()

Returns

IScanbotAnalyticsManager

ProvidesScanbotAnalyticsTracker()

public IScanbotAnalyticsTracker ProvidesScanbotAnalyticsTracker()

Returns

IScanbotAnalyticsTracker

ProvidesTiffWriter(Context, IFileIOProcessor)

public TiffGenerator ProvidesTiffWriter(Context context, IFileIOProcessor fileIOProcessor)

Parameters

context Context
fileIOProcessor IFileIOProcessor

Returns

TiffGenerator

ScanbotBarcodeDocumentParser(SapManager)

public IBarcodeDocumentParser ScanbotBarcodeDocumentParser(SapManager sapManager)

Parameters

sapManager SapManager

Returns

IBarcodeDocumentParser

ScanbotBarcodeScanner(SapManager)

public IBarcodeScanner ScanbotBarcodeScanner(SapManager sapManager)

Parameters

sapManager SapManager

Returns

IBarcodeScanner