Documentation
Table of contents

Thanks for downloading Dynamsoft Label Recognizer Package!

Your download will start shortly. If your download does not begin, click here to retry.

TextLineResultItem

The TextLineResultItem class represents a single text line result item recognized by the library. It is derived from CapturedResultItem and is one of the base items of RecognizedTextLinesResult.

Definition

Namespace: com.dynamsoft.dlr

Assembly: DynamsoftLabelRecognizer.aar

class TextLineResultItem extends CapturedResultItem

Inheritance: CapturedResultItem -> TextLineResultItem

Methods Summary

Method Description
getText Gets the text content of the text line.
getLocation Gets the location of the text line in the form of a quadrilateral.
getConfidence Gets the confidence of the text line recognition result.
getCharacterResults Get all the characters in the text line. Each character is represented by a CharacterResult object.

getText

Gets the text content of the individual text line.

String getText();

Return value

Returns the text content of the text line.

getLocation

It is used to get the location of the text line in the form of a Quadrilateral.

Quadrilateral getLocation();

Return value

Returns the location of the text line in the form of a quadrilateral.

getConfidence

Gets the confidence of the individual text line recognition result.

int getConfidence();

Return value

Returns the confidence of the text line recognition result.

getCharacterResults

Returns all the characters in the text line. Each character is represented by a CharacterResult object.

CharacterResult[] getCharacterResults();

Return value

An array of CharacterResult contains all the characters.

This page is compatible for:

Version 7.5.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version
    • Version 2.2.20
    • Version 2.0.0
    • Version 1.2.1
    • Version 1.2
    • Version 1.0
    Change +
    © 2003–2024 Dynamsoft. All rights reserved.
    Privacy Statement / Site Map / Home / Purchase / Support