class OcrText


Represents a segment of recognized text and its visual mapping in an image.

Summary

Public constructors

OcrText(text: String, bounds: List<Rect>)

Public properties

List<Rect>

A list of Rect objects representing the visual bounding boxes of the text.

String

The recognized string content.

Public constructors

OcrText

Added in 1.0.0-alpha19
OcrText(text: String, bounds: List<Rect>)

Public properties

bounds

Added in 1.0.0-alpha19
val boundsList<Rect>

A list of Rect objects representing the visual bounding boxes of the text. The bounds are typically aggregated by line to optimize for rendering and selection.

text

Added in 1.0.0-alpha19
val textString

The recognized string content.