Table of Contents

Class JniDocumentScanner

Namespace
IO.Scanbot.Document
Assembly
DocumentSDK.NET.Droid.dll
public sealed class JniDocumentScanner : SelfDisposable
Inheritance
JniDocumentScanner
Inherited Members

Constructors

JniDocumentScanner()

public JniDocumentScanner()

JniDocumentScanner(DocumentScannerConfiguration)

public JniDocumentScanner(DocumentScannerConfiguration config)

Parameters

config DocumentScannerConfiguration

Properties

Config

public DocumentScannerConfiguration Config { get; }

Property Value

DocumentScannerConfiguration

Methods

Ctor()

public override long Ctor()

Returns

long

Dtor(long)

public override void Dtor(long nativeImplPtr)

Parameters

nativeImplPtr long

ResetPolygonHistory()

public void ResetPolygonHistory()

Scan(byte[], int, int)

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

Parameters

nv21 byte[]
width int
height int

Returns

DocumentDetectionResult

ScanFromBitmap(Bitmap)

public DocumentDetectionResult ScanFromBitmap(Bitmap bitmap)

Parameters

bitmap Bitmap

Returns

DocumentDetectionResult

ScanFromFile(string)

public DocumentDetectionResult ScanFromFile(string filePath)

Parameters

filePath string

Returns

DocumentDetectionResult

ScanFromJpeg(byte[])

public DocumentDetectionResult ScanFromJpeg(byte[] data)

Parameters

data byte[]

Returns

DocumentDetectionResult

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

public 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

SetParameters(DocumentScannerParameters)

public void SetParameters(DocumentScannerParameters scanningParameters)

Parameters

scanningParameters DocumentScannerParameters