Table of Contents

Interface IDocumentScanner

Namespace
IO.Scanbot.Sdk.Document
Assembly
DocumentSDK.NET.Droid.dll
public interface IDocumentScanner : IJavaObject, IDisposable, IJavaPeerable
Inherited Members

Methods

CopyCurrentConfiguration()

DocumentScannerConfiguration CopyCurrentConfiguration()

Returns

DocumentScannerConfiguration

ResetPolygonHistory()

void ResetPolygonHistory()

Scan(byte[], int, int, int)

DocumentDetectionResult Scan(byte[] nv21, int width, int height, int frameOrientation)

Parameters

nv21 byte[]
width int
height int
frameOrientation int

Returns

DocumentDetectionResult

ScanFromBitmap(Bitmap)

DocumentDetectionResult ScanFromBitmap(Bitmap bitmap)

Parameters

bitmap Bitmap

Returns

DocumentDetectionResult

ScanFromFile(string)

DocumentDetectionResult ScanFromFile(string filePath)

Parameters

filePath string

Returns

DocumentDetectionResult

ScanFromJpeg(byte[])

DocumentDetectionResult ScanFromJpeg(byte[] data)

Parameters

data byte[]

Returns

DocumentDetectionResult

ScanInArea(byte[], int, int, int, Rect)

DocumentDetectionResult ScanInArea(byte[] nv21, int width, int height, int frameOrientation, Rect areaRect)

Parameters

nv21 byte[]
width int
height int
frameOrientation int
areaRect Rect

Returns

DocumentDetectionResult

SetConfiguration(DocumentScannerConfiguration)

void SetConfiguration(DocumentScannerConfiguration configuration)

Parameters

configuration DocumentScannerConfiguration

SetParameters(DocumentScannerParameters)

void SetParameters(DocumentScannerParameters scanningParameters)

Parameters

scanningParameters DocumentScannerParameters