Class OcrElement
[Register("io/scanbot/sdk/ocr/OcrElement", DoNotGenerateAcw = true)]
public abstract class OcrElement : Object, IParcelable, IJavaObject, IJavaPeerable, IDisposable
- Inheritance
-
OcrElement
- Implements
- Derived
- Inherited Members
Constructors
OcrElement(nint, JniHandleOwnership)
protected OcrElement(nint javaReference, JniHandleOwnership transfer)
Parameters
javaReferenceninttransferJniHandleOwnership
Properties
Confidence
public abstract double Confidence { get; }
Property Value
Roi
public abstract IList<PointF> Roi { get; }
Property Value
Text
public abstract string Text { get; }
Property Value
Methods
Block(string, double, IList<PointF>, IList<Line>)
[Register("block", "(Ljava/lang/String;DLjava/util/List;Ljava/util/List;)Lio/scanbot/sdk/ocr/Block;", "")]
public static Block Block(string text, double confidence, IList<PointF> roi, IList<Line> lines)
Parameters
Returns
DescribeContents()
Describe the kinds of special objects contained in this Parcelable instance's marshaled representation.
[Register("describeContents", "()I", "GetDescribeContentsHandler")]
public abstract int DescribeContents()
Returns
- int
a bitmask indicating the set of special object types marshaled by this Parcelable object instance.
Remarks
<p>Describe the kinds of special objects contained in this Parcelable
instance's marshaled representation. For example, if the object will
include a file descriptor in the output of #writeToParcel(Parcel, int),
the return value of this method must include the
#CONTENTS_FILE_DESCRIPTOR bit.
.
android.os.Parcelable.describeContents()
Portions of this page are modifications based on work created and shared by the
Get_type()
[Register("get_type", "()Ljava/lang/String;", "GetGet_typeHandler")]
public abstract string Get_type()
Returns
Glyph(string, double, IList<PointF>)
[Register("glyph", "(Ljava/lang/String;DLjava/util/List;)Lio/scanbot/sdk/ocr/Glyph;", "")]
public static Glyph Glyph(string text, double confidence, IList<PointF> roi)
Parameters
Returns
Invoke(IDictionary<string, Object>)
[Register("invoke", "(Ljava/util/Map;)Lio/scanbot/sdk/ocr/OcrElement;", "")]
public static OcrElement Invoke(IDictionary<string, Object> source)
Parameters
sourceIDictionary<string, Object>
Returns
Line(string, double, IList<PointF>, IList<Word>)
[Register("line", "(Ljava/lang/String;DLjava/util/List;Ljava/util/List;)Lio/scanbot/sdk/ocr/Line;", "")]
public static Line Line(string text, double confidence, IList<PointF> roi, IList<Word> words)
Parameters
Returns
Page(string, double, IList<PointF>, IList<Block>)
[Register("page", "(Ljava/lang/String;DLjava/util/List;Ljava/util/List;)Lio/scanbot/sdk/ocr/Page;", "")]
public static Page Page(string text, double confidence, IList<PointF> roi, IList<Block> blocks)
Parameters
Returns
ToJson(ToJsonConfiguration)
[Register("toJson", "(Lio/scanbot/sdk/common/ToJsonConfiguration;)Lorg/json/JSONObject;", "GetToJson_Lio_scanbot_sdk_common_ToJsonConfiguration_Handler")]
public abstract JSONObject ToJson(ToJsonConfiguration config)
Parameters
configToJsonConfiguration
Returns
Word(string, double, IList<PointF>, IList<Glyph>)
[Register("word", "(Ljava/lang/String;DLjava/util/List;Ljava/util/List;)Lio/scanbot/sdk/ocr/Word;", "")]
public static Word Word(string text, double confidence, IList<PointF> roi, IList<Glyph> glyphs)
Parameters
Returns
WriteToParcel(Parcel, ParcelableWriteFlags)
Flatten this object in to a Parcel.
[Register("writeToParcel", "(Landroid/os/Parcel;I)V", "GetWriteToParcel_Landroid_os_Parcel_IHandler")]
public abstract void WriteToParcel(Parcel dest, ParcelableWriteFlags flags)
Parameters
destParcelThe Parcel in which the object should be written.
flagsParcelableWriteFlagsAdditional flags about how the object should be written. May be 0 or
#PARCELABLE_WRITE_RETURN_VALUE.
Remarks
Flatten this object in to a Parcel.
.
android.os.Parcelable.writeToParcel(android.os.Parcel, int)
Portions of this page are modifications based on work created and shared by the