Captured Text#

Defined in package

class CapturedText

Added in version 6.1.0

A captured text.

@NonNull String getValue()

Added in version 6.1.0

The value of the captured text.

@NonNull Quadrilateral getLocation()

Added in version 6.1.0

The location of the captured text. The coordinates are in image-space, meaning that the coordinates correspond to actual pixels in the image. For display, the coordinates need first to be converted into screen-space.

The meaning of the values of Quadrilateral.topLeft etc is such that the top left point corresponds to the top left corner of the captured text, independent of how the captured text is oriented in the image.