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

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.
getSpecificationName Get the name of the TextLineSpecification object that generated this TextLineResultItem.

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.

getSpecificationName

Get the name of the TextLineSpecification object that generated this TextLineResultItem.

String getSpecificationName();

Return value

The name of the TextLineSpecification object that generated this TextLineResultItem.

This page is compatible for:

Version 7.5.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

  • Latest version (3.2.30)
  • Version 3.x
    • Version 3.0.20
  • Version 2.x
    • Version 2.2.20
    • Version 2.0.0
  • Version 1.x
    • Version 1.2.1
    • Version 1.2.0
    • Version 1.0.0
Change +
© 2003–2024 Dynamsoft. All rights reserved.
Privacy Statement / Site Map / Home / Purchase / Support