Documentation
Table of contents

RecognizedTextLineElement

The RecognizedTextLineElement class represents a line of recognized text in an image. It inherits from the RegionObjectElement class.

Definition

Namespace: Dynamsoft.DLR.intermediate_results

class RecognizedTextLineElement : RegionObjectElement

Inheritance: RegionObjectElement -> RecognizedTextLineElement

Methods

Method Description
GetText Gets the recognized text.
GetConfidence Gets the confidence level of the recognized text.
GetCharacterResultsCount Gets the number of individual character recognition results in the line.
GetCharacterResult Gets the character recognition result at the specified index.
GetCharacterResults Gets all the character recognition results.
GetRowNumber Gets the row number of the text line within the image.
GetSpecificationName Gets the name of the text line specification that generated this element.
GetRawText Gets the recognized raw text, excluding any concatenation separators.
SetLocation Sets the location of the current object.
SetText Sets the recognized text.

GetText

Gets the recognized text.

string GetText()

Return value

Returns the recognized text.

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.

GetCharacterResultsCount

Gets the number of individual character recognition results in the line.

int GetCharacterResultsCount()

Return value

Returns an integer value representing the number of individual character recognition results.

GetCharacterResult

Gets the character recognition result at the specified index.

CharacterResult GetCharacterResult(int index)

Parameters

[in] index The index of the character recognition result to retrieve.

Return value

Returns a CharacterResult object stores the result.

See Also

CharacterResult

GetCharacterResults

Gets all the character recognition results.

CharacterResult[] GetCharacterResults()

Return value

Returns a CharacterResult object array stores the results.

See Also

CharacterResult

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.

GetSpecificationName

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

string GetSpecificationName()

Return value

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

GetRawText

Gets the recognized raw text, excluding any concatenation separators.

string GetRawText()

Return value

Returns the recognized raw text.

SetLocation

Sets the location of the current object.

int SetLocation(Quadrilateral location)

Parameters

[in] location The location of the barcode.

Return value

Returns the row number of the text line.

See Also

Quadrilateral

SetText

Sets the recognized text.

void SetText(string text)

Parameters

[in] text The text to set.

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: