Class NativeGenericDocumentScanner
- Namespace
- IO.Scanbot.Genericdocument
- Assembly
- DocumentSDK.NET.Droid.dll
[Register("io/scanbot/genericdocument/NativeGenericDocumentScanner", DoNotGenerateAcw = true)]
public sealed class NativeGenericDocumentScanner : SelfDisposable, IJavaObject, IJavaPeerable, IDisposable
- Inheritance
-
NativeGenericDocumentScanner
- Implements
-
- Inherited Members
-
Constructors
NativeGenericDocumentScanner(string, bool)
[Register(".ctor", "(Ljava/lang/String;Z)V", "")]
public NativeGenericDocumentScanner(string tessDataPath, bool accumulateFrames)
Parameters
tessDataPath
string
accumulateFrames
bool
Properties
A
[Register("a")]
public string A { get; set; }
Property Value
- string
B
[Register("b")]
public bool B { get; set; }
Property Value
- bool
C
[Register("c")]
public Float C { get; set; }
Property Value
- Float
D
[Register("d")]
public IList D { get; set; }
Property Value
- IList
E
[Register("e")]
public ICollection E { get; set; }
Property Value
- ICollection
Methods
Clear()
[Register("clear", "()V", "")]
public void Clear()
Ctor()
[Register("ctor", "()J", "")]
public override long Ctor()
Returns
- long
Dtor(long)
[Register("dtor", "(J)V", "")]
public override void Dtor(long nativeImplPtr)
Parameters
nativeImplPtr
long
ScanBitmap(Bitmap, bool, int)
[Register("scanBitmap", "(Landroid/graphics/Bitmap;ZI)Lio/scanbot/genericdocument/entity/GenericDocumentScanResult;", "")]
public GenericDocumentScanResult ScanBitmap(Bitmap bitmap, bool shouldRecognize, int orientation)
Parameters
bitmap
Bitmap
shouldRecognize
bool
orientation
int
Returns
- GenericDocumentScanResult
ScanJpeg(byte[], bool, int)
[Register("scanJpeg", "([BZI)Lio/scanbot/genericdocument/entity/GenericDocumentScanResult;", "")]
public GenericDocumentScanResult ScanJpeg(byte[] jpeg, bool shouldRecognize, int orientation)
Parameters
jpeg
byte[]
shouldRecognize
bool
orientation
int
Returns
- GenericDocumentScanResult
ScanNv21(byte[], int, int, int, Rect, bool)
[Register("scanNv21", "([BIIILandroid/graphics/Rect;Z)Lio/scanbot/genericdocument/entity/GenericDocumentScanResult;", "")]
public GenericDocumentScanResult ScanNv21(byte[] nv21, int width, int height, int orientation, Rect finderRect, bool shouldRecognize)
Parameters
nv21
byte[]
width
int
height
int
orientation
int
finderRect
Rect
shouldRecognize
bool
Returns
- GenericDocumentScanResult