Package io.scanbot.sdk.ocr.model
Class Word
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class Word extends OcrElement implements Parcelable
Represents a single word. A word is made up of glyphs.
-
-
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<Glyph>
getGlyphs()
List of glyphs. JSONObject
toJson(ToJsonConfiguration config)
Word
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)
-
-
-
-