Package io.scanbot.ocr.model
Class OcrResultBlock
-
- All Implemented Interfaces:
public final class OcrResultBlock
Part of the optical character recognitions result. Each block represents a text paragraph, a text line or a word and contains information about it, like the found text, the bounding box, where in the image the paragraph/line/word can be found, the confidence value and the type.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enum
OcrResultBlock.OcrResultBlockType
Represents block types for a text paragraph, a text line or a word.
-
Field Summary
Fields Modifier and Type Field Description public final String
text
public final RectF
boundingBox
public final Rect
boundingBoxWithImageSize
public final Float
confidenceValue
public final OcrResultBlock.OcrResultBlockType
blockType
-
Constructor Summary
Constructors Constructor Description OcrResultBlock(String text, RectF boundingBox, Rect boundingBoxWithImageSize, Float confidenceValue, OcrResultBlock.OcrResultBlockType blockType)
-
Method Summary
Modifier and Type Method Description -
-
Constructor Detail
-
OcrResultBlock
OcrResultBlock(String text, RectF boundingBox, Rect boundingBoxWithImageSize, Float confidenceValue, OcrResultBlock.OcrResultBlockType blockType)
-
-
-
-