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.

RecognizedTextLineElement

The RecognizedTextLineElement class extends the RegionObjectElement class and represents a recognized text line element.

Definition

Namespace: com.dynamsoft.dlr.intermediate_results

Assembly: DynamsoftLabelRecognizer.aar

class RecognizedTextLineElement extends RegionObjectElement

Inheritance: RegionObjectElement -> RecognizedTextLineElement

Methods

Method Description
getText Returns the recognized text of the line.
getConfidence Returns the confidence score for the recognized text line.
getCharacterResults Returns all the results for individual characters within the text line.
getRowNumber Returns the row number of the text line, starting from 1.
setText Sets the recognized text of the line.
getSpecificationName Returns the name of the TextLineSpecification object that generated this TextLineResultItem.

getText

Returns the recognized text of the line.

String getText()

Return value

The recognized text of the line.

getConfidence

Returns the confidence score for the recognized text line.

int getConfidence()

Return value

The confidence score for the recognized text line.

getCharacterResults

Returns all the results for individual characters within the text line, defined by CharacterResult.

CharacterResult[] getCharacterResults();

Return value

The results for individual characters within the text line, defined by CharacterResult.

getRowNumber

Returns the row number of the text line, starting from 1.

int getRowNumber();

Return value

The row number of the text line, starting from 1.

setText

Sets the recognized text of the line.

void setText(String text);

Parameters

text: The text to be set.

getSpecificationName

Returns 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