Class OcrElement
- Namespace
- IO.Scanbot.Sdk.Ocr.Model
- Assembly
- DocumentSDK.NET.Droid.dll
public abstract class OcrElement : Object, IParcelable, IJavaObject, IDisposable, IJavaPeerable
- Inheritance
-
OcrElement
- Implements
-
- Derived
-
Constructors
OcrElement(DefaultConstructorMarker)
public OcrElement(DefaultConstructorMarker _constructor_marker)
Parameters
_constructor_marker
DefaultConstructorMarker
OcrElement(nint, JniHandleOwnership)
protected OcrElement(nint javaReference, JniHandleOwnership transfer)
Parameters
javaReference
nint
transfer
JniHandleOwnership
Properties
Confidence
public abstract double Confidence { get; }
Property Value
- double
Roi
public abstract IList<PointF> Roi { get; }
Property Value
- IList<PointF>
Text
public abstract string Text { get; }
Property Value
- string
Methods
Block(string, double, IList<PointF>, IList<Line>)
public static Block Block(string text, double confidence, IList<PointF> roi, IList<Line> lines)
Parameters
text
string
confidence
double
roi
IList<PointF>
lines
IList<Line>
Returns
- Block
DescribeContents()
public abstract int DescribeContents()
Returns
- int
Get_type()
public abstract string Get_type()
Returns
- string
Glyph(string, double, IList<PointF>)
public static Glyph Glyph(string text, double confidence, IList<PointF> roi)
Parameters
text
string
confidence
double
roi
IList<PointF>
Returns
- Glyph
Invoke(IDictionary<string, Object>)
public static OcrElement Invoke(IDictionary<string, Object> source)
Parameters
source
IDictionary<string, Object>
Returns
- OcrElement
Line(string, double, IList<PointF>, IList<Word>)
public static Line Line(string text, double confidence, IList<PointF> roi, IList<Word> words)
Parameters
text
string
confidence
double
roi
IList<PointF>
words
IList<Word>
Returns
- Line
Page(string, double, IList<PointF>, IList<Block>)
public static Page Page(string text, double confidence, IList<PointF> roi, IList<Block> blocks)
Parameters
text
string
confidence
double
roi
IList<PointF>
blocks
IList<Block>
Returns
- Page
ToJson(ToJsonConfiguration)
public abstract JSONObject ToJson(ToJsonConfiguration config)
Parameters
config
ToJsonConfiguration
Returns
- JSONObject
Word(string, double, IList<PointF>, IList<Glyph>)
public static Word Word(string text, double confidence, IList<PointF> roi, IList<Glyph> glyphs)
Parameters
text
string
confidence
double
roi
IList<PointF>
glyphs
IList<Glyph>
Returns
- Word
WriteToParcel(Parcel, ParcelableWriteFlags)
public abstract void WriteToParcel(Parcel dest, ParcelableWriteFlags flags)
Parameters
dest
Parcel
flags
ParcelableWriteFlags