Package io.scanbot.sdk.ocr.model
Class Page
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class Page extends OcrElement implements Parcelable
Represents result of performing OCR on an image. A page is made up of blocks.
-
-
Method Summary
Modifier and Type Method Description String
get_type()
String
getText()
The recognized text. Double
getConfidence()
Text confidence. List<PointF>
getRoi()
Quad where the text was found in image coordinates. final List<Block>
getBlocks()
List of blocks. JSONObject
toJson(ToJsonConfiguration config)
Page
clone()
-
-
Method Detail
-
getConfidence
Double getConfidence()
Text confidence. Range is 0-1.
-
getRoi
List<PointF> getRoi()
Quad where the text was found in image coordinates. The order of the points is clockwise starting from the top left.
-
toJson
JSONObject toJson(ToJsonConfiguration config)
-
-
-
-