Table of Contents

Class NativeGenericTextRecognizer

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

Constructors

NativeGenericTextRecognizer()

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

Fields

DefaultMaximumAccumulatedFrameCount

[Register("DEFAULT_MAXIMUM_ACCUMULATED_FRAME_COUNT")]
public const int DefaultMaximumAccumulatedFrameCount = 3

Field Value

int

DefaultMinimumRequiredFrameCount

[Register("DEFAULT_MINIMUM_REQUIRED_FRAME_COUNT")]
public const int DefaultMinimumRequiredFrameCount = 2

Field Value

int

DefaultOcrResolutionLimit

[Register("DEFAULT_OCR_RESOLUTION_LIMIT")]
public const int DefaultOcrResolutionLimit = 0

Field Value

int

Properties

A

[Register("a")]
public NativeGenericTextRecognizerConfig A { get; set; }

Property Value

NativeGenericTextRecognizerConfig

Methods

CleanRecognitionQueue()

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

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

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

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

Parameters

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

Returns

NativeTextRecognitionResult

SetConfiguration(NativeGenericTextRecognizerConfig)

[Register("setConfiguration", "(Lio/scanbot/generictext/NativeGenericTextRecognizerConfig;)V", "")]
public void SetConfiguration(NativeGenericTextRecognizerConfig config)

Parameters

config NativeGenericTextRecognizerConfig