Documentation
Table of contents

TextLineResultItem

The TextLineResultItem class represents a text line result item recognized by the library. It is derived from CapturedResultItem.

Definition

Package: com.dynamsoft.dlr

Inheritance: CapturedResultItem -> TextLineResultItem

public class TextLineResultItem extends CapturedResultItem

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 Gets all the character results.
getCharacterResult Gets the character result at a specific index.
getCharacterResultsCount Gets the count of character results.
getSpecificationName Gets the name of the text line specification that generated this item.
getRawText Gets the recognized raw text, excluding any concatenation separators.

getText

Gets the text content of the text line.

public String getText()

Return Value

Returns the text content of the text line.

getLocation

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

public Quadrilateral getLocation()

Return Value

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

See Also

Quadrilateral

getConfidence

Gets the confidence of the text line recognition result.

public int getConfidence()

Return Value

Returns the confidence of the text line recognition result.

getCharacterResults

Gets all the character results.

public CharacterResult[] getCharacterResults()

Return Value

Returns all the character results as a CharacterResult array.

See Also

CharacterResult

getCharacterResult

Gets the character result at a specific index.

public CharacterResult getCharacterResult(int index)

Parameters

index The index of the character result to retrieve.

Return Value

Returns the CharacterResult at the specified index.

See Also

CharacterResult

getCharacterResultsCount

Gets the count of character results.

public int getCharacterResultsCount()

Return Value

Returns the count of character results.

getSpecificationName

Gets the name of the text line specification that generated this item.

public String getSpecificationName()

Return Value

Returns the name of the text line specification that generated this item.

getRawText

Gets the recognized raw text, excluding any concatenation separators.

public String getRawText()

Return Value

Returns the recognized raw text.

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: