Table of Contents

Class TextOrientationRecognizer

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

Constructors

TextOrientationRecognizer(string)

[Register(".ctor", "(Ljava/lang/String;)V", "")]
public TextOrientationRecognizer(string tessDataPath)

Parameters

tessDataPath string

Properties

A

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

Property Value

string

Methods

Ctor()

[Register("ctor", "()J", "")]
public override long Ctor()

Returns

long

Dtor(long)

[Register("dtor", "(J)V", "")]
public override void Dtor(long recognizerPtr)

Parameters

recognizerPtr long

RecognizeBitmap(Bitmap, float)

[Register("recognizeBitmap", "(Landroid/graphics/Bitmap;F)Lio/scanbot/textorientation/model/TextOrientation;", "")]
public TextOrientation RecognizeBitmap(Bitmap bitmap, float requestedConfidence)

Parameters

bitmap Bitmap
requestedConfidence float

Returns

TextOrientation

RecognizeJPEG(byte[], int, int, float)

[Register("recognizeJPEG", "([BIIF)Lio/scanbot/textorientation/model/TextOrientation;", "")]
public TextOrientation RecognizeJPEG(byte[] jpeg, int width, int height, float requestedConfidence)

Parameters

jpeg byte[]
width int
height int
requestedConfidence float

Returns

TextOrientation