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 Stringtextprivate final RectboundingRectprivate final DoublerecognitionConfidence
-
Method Summary
Modifier and Type Method Description final StringgetText()Recognized word text. final RectgetBoundingRect()Bounding rectangle of the recognized word. final DoublegetRecognitionConfidence()Confidence of the recognition. final JSONObjecttoJson(ToJsonConfiguration config)final WordBoxclone()-
-
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)
-
-
-
-