Table of Contents

Interface IGenericTextRecognizer

Namespace
IO.Scanbot.Sdk.Generictext
Assembly
DocumentSDK.NET.Droid.dll
[Register("io/scanbot/sdk/generictext/GenericTextRecognizer", "", "IO.Scanbot.Sdk.Generictext.IGenericTextRecognizerInvoker")]
public interface IGenericTextRecognizer : IJavaObject, IJavaPeerable, IDisposable
Inherited Members

Properties

AllowedSymbols

ICollection<Character> AllowedSymbols { get; set; }

Property Value

ICollection<Character>

MatchSubstringForPattern

bool MatchSubstringForPattern { get; set; }

Property Value

bool

MaximumNumberOfAccumulatedFrames

int MaximumNumberOfAccumulatedFrames { get; set; }

Property Value

int

MinimumNumberOfRequiredFramesWithEqualRecognitionResult

int MinimumNumberOfRequiredFramesWithEqualRecognitionResult { get; set; }

Property Value

int

OcrResolutionLimit

int OcrResolutionLimit { get; set; }

Property Value

int

Methods

CleanRecognitionQueue()

[Register("cleanRecognitionQueue", "()V", "GetCleanRecognitionQueueHandler:IO.Scanbot.Sdk.Generictext.IGenericTextRecognizerInvoker, DocumentSDK.NET.Droid")]
void CleanRecognitionQueue()

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

[Register("scanNv21", "([BIIILandroid/graphics/Rect;)Lio/scanbot/sdk/generictext/GenericTextRecognitionResult;", "GetScanNv21_arrayBIIILandroid_graphics_Rect_Handler:IO.Scanbot.Sdk.Generictext.IGenericTextRecognizerInvoker, DocumentSDK.NET.Droid")]
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", "GetSetCleaner_Lio_scanbot_sdk_generictext_GenericTextRecognizer_CleanRecognitionResultCallback_Handler:IO.Scanbot.Sdk.Generictext.IGenericTextRecognizerInvoker, DocumentSDK.NET.Droid")]
void SetCleaner(IGenericTextRecognizer.ICleanRecognitionResultCallback callback)

Parameters

callback IGenericTextRecognizer.ICleanRecognitionResultCallback

SetValidator(string, IGenericTextValidationCallback)

[Register("setValidator", "(Ljava/lang/String;Lio/scanbot/sdk/generictext/GenericTextRecognizer$GenericTextValidationCallback;)V", "GetSetValidator_Ljava_lang_String_Lio_scanbot_sdk_generictext_GenericTextRecognizer_GenericTextValidationCallback_Handler:IO.Scanbot.Sdk.Generictext.IGenericTextRecognizerInvoker, DocumentSDK.NET.Droid")]
void SetValidator(string pattern, IGenericTextRecognizer.IGenericTextValidationCallback callback)

Parameters

pattern string
callback IGenericTextRecognizer.IGenericTextValidationCallback