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 represents a line of recognized text in an image. It inherits from the RegionObjectElement class.

Definition

Namespace: com.dynamsoft.dlr.intermediate_results

Assembly: DynamsoftLabelRecognizer.aar

class RecognizedTextLineElement extends RegionObjectElement

Inheritance: RegionObjectElement -> RecognizedTextLineElement

Methods Summary

Method Description
getText Gets the recognized text.
getConfidence Gets the confidence level of the recognized text.
getCharacterResults Gets all the characters contained by the textline.
getRowNumber Gets the row number of the text line within the image.

getText

Gets the recognized text.

String getText()

Return value

Returns the text of the text line.

getConfidence

Gets the confidence level of the recognized text.

int getConfidence()

Return value

Returns an integer value representing the confidence level of the recognized text.

getCharacterResults

Gets all the characters contained by the textline in an array of CharacterResult.

CharacterResult[] getCharacterResults();

Return value

Returns an integer value representing the success of the operation. Zero indicates success, while any other value indicates failure.

getRowNumber

Gets the row number of the text line within the image.

int getRowNumber();

Return value

Returns an integer value representing the row number of the text line within the image.

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