Package io.scanbot.sdk.textpattern
Class WordBox
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class WordBox implements Parcelable
Structure containing recognized word text and bounds.
-
-
Field Summary
Fields Modifier and Type Field Description private final String
text
private final Rect
boundingRect
private final Double
recognitionConfidence
-
Method Summary
Modifier and Type Method Description final String
getText()
Recognized word text. final Rect
getBoundingRect()
Bounding rectangle of the recognized word. final Double
getRecognitionConfidence()
Confidence of the recognition. final JSONObject
toJson(ToJsonConfiguration config)
final WordBox
clone()
-
-
Method Detail
-
getBoundingRect
final Rect getBoundingRect()
Bounding rectangle of the recognized word.
-
getRecognitionConfidence
final Double getRecognitionConfidence()
Confidence of the recognition.
Default is 0.0
-
toJson
final JSONObject toJson(ToJsonConfiguration config)
-
-
-
-