Table of Contents

Class StubGenericTextRecognizer

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

Constructors

StubGenericTextRecognizer()

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

Properties

AllowedSymbols

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

Property Value

ICollection<Character>

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

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