SymbolBox

data class SymbolBox(val symbol: String, val boundingRect: Rect, val recognitionConfidence: Double) : Parcelable

Structure containing recognized symbol text and bounds.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(symbol: String, boundingRect: Rect, recognitionConfidence: Double)

Properties

Link copied to clipboard

Bounding rectangle of the recognized symbol.

Link copied to clipboard

Confidence of the recognition.

Link copied to clipboard

Recognized symbol text.

Functions

Link copied to clipboard
Link copied to clipboard
fun toJson(config: ToJsonConfiguration = ToJsonConfiguration.default()): JSONObject