Developer's Documentation for free mobile OCR SDK

Documentation Menu

TextLine class

A fragment of recognized text, with additional information about characters.

final class TextLine {
    public final String Text;
    public final Point[] Quadrangle;
    public final CharInfo[] CharInfo;
}

Properties

Name

Type

Description

CharInfo

CharInfo[]

Additional information about the characters (may be null).

Quadrangle

Point[]

The four vertex points of the bounding quadrangle. The vertices are indexed clockwise starting from the bottom left.

Note: Before recognition, the service rotates the image obtained from camera in order to bring text orientation to normal (horizontal). The vertex coordinates are specified for this rotated image and may require coordinate conversion if you display the quadrangle on the video frame.

Text

String

The recognized text.