Table of Contents

Class DefaultGenericTextRecognizer

Namespace
IO.Scanbot.Sdk.Generictext
Assembly
DocumentSDK.NET.Droid.dll
[Register("io/scanbot/sdk/generictext/DefaultGenericTextRecognizer", DoNotGenerateAcw = true)]
public sealed class DefaultGenericTextRecognizer : Object, IGenericTextRecognizer, IJavaObject, IJavaPeerable, IDisposable
Inheritance
DefaultGenericTextRecognizer
Implements
Inherited Members

Constructors

DefaultGenericTextRecognizer()

[Register(".ctor", "()V", "")]
public DefaultGenericTextRecognizer()

Properties

AllowedSymbols

public ICollection<Character> AllowedSymbols { get; set; }

Property Value

ICollection<Character>

B

[Register("b")]
public int B { get; set; }

Property Value

int

C

[Register("c")]
public int C { get; set; }

Property Value

int

D

[Register("d")]
public int D { get; set; }

Property Value

int

E

[Register("e")]
public ICollection E { get; set; }

Property Value

ICollection

F

[Register("f")]
public bool F { get; set; }

Property Value

bool

G

[Register("g")]
public string G { get; set; }

Property Value

string

H

[Register("h")]
public IGenericTextRecognizer.IGenericTextValidationCallback H { get; set; }

Property Value

IGenericTextRecognizer.IGenericTextValidationCallback

I

[Register("i")]
public IGenericTextRecognizer.ICleanRecognitionResultCallback I { get; set; }

Property Value

IGenericTextRecognizer.ICleanRecognitionResultCallback

MatchSubstringForPattern

public bool MatchSubstringForPattern { get; set; }

Property Value

bool

MaximumNumberOfAccumulatedFrames

public int MaximumNumberOfAccumulatedFrames { get; set; }

Property Value

int

MinimumNumberOfRequiredFramesWithEqualRecognitionResult

public int MinimumNumberOfRequiredFramesWithEqualRecognitionResult { get; set; }

Property Value

int

OcrResolutionLimit

public int OcrResolutionLimit { get; set; }

Property Value

int

Methods

A(ICleanRecognitionResultCallback, string)

[Register("a", "(Lio/scanbot/sdk/generictext/GenericTextRecognizer$CleanRecognitionResultCallback;Ljava/lang/String;)Ljava/lang/String;", "")]
public static string A(IGenericTextRecognizer.ICleanRecognitionResultCallback _it, string @string)

Parameters

_it IGenericTextRecognizer.ICleanRecognitionResultCallback
string string

Returns

string

A(IGenericTextValidationCallback, string)

[Register("a", "(Lio/scanbot/sdk/generictext/GenericTextRecognizer$GenericTextValidationCallback;Ljava/lang/String;)Z", "")]
public static bool A(IGenericTextRecognizer.IGenericTextValidationCallback _it, string @string)

Parameters

_it IGenericTextRecognizer.IGenericTextValidationCallback
string string

Returns

bool

CleanRecognitionQueue()

[Register("cleanRecognitionQueue", "()V", "")]
public void CleanRecognitionQueue()

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

[Register("scanNv21", "([BIIILandroid/graphics/Rect;)Lio/scanbot/sdk/generictext/GenericTextRecognitionResult;", "")]
public GenericTextRecognitionResult ScanNv21(byte[] nv21, int width, int height, int orientation, Rect finderRect)

Parameters

nv21 byte[]
width int
height int
orientation int
finderRect Rect

Returns

GenericTextRecognitionResult

SetCleaner(ICleanRecognitionResultCallback)

[Register("setCleaner", "(Lio/scanbot/sdk/generictext/GenericTextRecognizer$CleanRecognitionResultCallback;)V", "")]
public void SetCleaner(IGenericTextRecognizer.ICleanRecognitionResultCallback callback)

Parameters

callback IGenericTextRecognizer.ICleanRecognitionResultCallback

SetValidator(string, IGenericTextValidationCallback)

[Register("setValidator", "(Ljava/lang/String;Lio/scanbot/sdk/generictext/GenericTextRecognizer$GenericTextValidationCallback;)V", "")]
public void SetValidator(string validator, IGenericTextRecognizer.IGenericTextValidationCallback callback)

Parameters

validator string
callback IGenericTextRecognizer.IGenericTextValidationCallback