Class OcrResultBlock
- Namespace
- IO.Scanbot.Ocr.Model
- Assembly
- DocumentSDK.NET.Droid.dll
[Register("io/scanbot/ocr/model/OcrResultBlock", DoNotGenerateAcw = true)]
public sealed class OcrResultBlock : Object, IJavaObject, IJavaPeerable, IDisposable
- Inheritance
-
OcrResultBlock
- Implements
-
- Inherited Members
-
Constructors
OcrResultBlock(string, RectF, Rect, float, OcrResultBlockType)
[Register(".ctor", "(Ljava/lang/String;Landroid/graphics/RectF;Landroid/graphics/Rect;FLio/scanbot/ocr/model/OcrResultBlock$OcrResultBlockType;)V", "")]
public OcrResultBlock(string text, RectF boundingBox, Rect boundingBoxWithImageSize, float confidenceValue, OcrResultBlock.OcrResultBlockType blockType)
Parameters
text
string
boundingBox
RectF
boundingBoxWithImageSize
Rect
confidenceValue
float
blockType
OcrResultBlock.OcrResultBlockType
Properties
BlockType
[Register("blockType")]
public OcrResultBlock.OcrResultBlockType BlockType { get; set; }
Property Value
- OcrResultBlock.OcrResultBlockType
BoundingBox
[Register("boundingBox")]
public RectF BoundingBox { get; set; }
Property Value
- RectF
BoundingBoxWithImageSize
[Register("boundingBoxWithImageSize")]
public Rect BoundingBoxWithImageSize { get; set; }
Property Value
- Rect
ConfidenceValue
[Register("confidenceValue")]
public float ConfidenceValue { get; set; }
Property Value
- float
Text
[Register("text")]
public string Text { get; set; }
Property Value
- string
Methods
Component1()
[Register("component1", "()Ljava/lang/String;", "")]
public string Component1()
Returns
- string
Component2()
[Register("component2", "()Landroid/graphics/RectF;", "")]
public RectF Component2()
Returns
- RectF
Component3()
[Register("component3", "()Landroid/graphics/Rect;", "")]
public Rect Component3()
Returns
- Rect
Component4()
[Register("component4", "()F", "")]
public float Component4()
Returns
- float
Component5()
[Register("component5", "()Lio/scanbot/ocr/model/OcrResultBlock$OcrResultBlockType;", "")]
public OcrResultBlock.OcrResultBlockType Component5()
Returns
- OcrResultBlock.OcrResultBlockType
Copy(string, RectF, Rect, float, OcrResultBlockType)
[Register("copy", "(Ljava/lang/String;Landroid/graphics/RectF;Landroid/graphics/Rect;FLio/scanbot/ocr/model/OcrResultBlock$OcrResultBlockType;)Lio/scanbot/ocr/model/OcrResultBlock;", "")]
public OcrResultBlock Copy(string text, RectF boundingBox, Rect boundingBoxWithImageSize, float confidenceValue, OcrResultBlock.OcrResultBlockType blockType)
Parameters
text
string
boundingBox
RectF
boundingBoxWithImageSize
Rect
confidenceValue
float
blockType
OcrResultBlock.OcrResultBlockType
Returns
- OcrResultBlock