Class StubDocumentScanner
- Namespace
- IO.Scanbot.Sdk.Document
- Assembly
- DocumentSDK.NET.Droid.dll
public sealed class StubDocumentScanner : Object, IDocumentScanner, IJavaObject, IDisposable, IJavaPeerable
- Inheritance
-
StubDocumentScanner
- Implements
-
Constructors
StubDocumentScanner(SapManager)
public StubDocumentScanner(SapManager sapManager)
Parameters
sapManager
SapManager
Methods
CopyCurrentConfiguration()
public DocumentScannerConfiguration CopyCurrentConfiguration()
Returns
- DocumentScannerConfiguration
ResetPolygonHistory()
public void ResetPolygonHistory()
Scan(byte[], int, int, int)
public DocumentDetectionResult Scan(byte[] nv21, int width, int height, int frameOrientation)
Parameters
nv21
byte[]
width
int
height
int
frameOrientation
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
SetConfiguration(DocumentScannerConfiguration)
public void SetConfiguration(DocumentScannerConfiguration configuration)
Parameters
configuration
DocumentScannerConfiguration
SetParameters(DocumentScannerParameters)
public void SetParameters(DocumentScannerParameters scanningParameters)
Parameters
scanningParameters
DocumentScannerParameters