Documentation
Table of contents

CRecognizedTextLineElement

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

Definition

Namespace: dynamsoft::dlr::intermediate_results

Assembly: DynamsoftLabelRecognizer

class CRecognizedTextLineElement : public CRegionObjectElement

Inheritance: CRegionObjectElement -> CRecognizedTextLineElement

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.
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.

GetText

Gets the recognized text.

virtual const char* GetText() const = 0;

Return value

Returns a pointer to the recognized text.

GetConfidence

Gets the confidence level of the recognized text.

virtual int GetConfidence() const = 0;

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.

virtual int GetCharacterResultsCount() const = 0;

Return value

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

GetCharacterResult

Gets the character recognition result at the specified index.

virtual const CCharacterResult* GetCharacterResult(int index) const = 0;

Parameters

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

Return value

Returns a pointer to a CCharacterResult object to store the result in.

GetRowNumber

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

virtual int GetRowNumber() const = 0;

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.

virtual const char* GetSpecificationName() const = 0;

Return value

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

GetRawText

Gets the recognized raw text, excluding any concatenation separators.

virtual const char* GetRawText() const = 0;

Return value

Returns a pointer to the recognized raw text.

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article:

latest version

  • Latest version
  • Version 3.x
    • Version 3.2.30
    • Version 3.2.20
    • Version 3.2.10
    • Version 3.2.0
    • Version 3.0.30
    • Version 3.0.20
    • Version 3.0.10
    • Version 3.0.0
  • Version 2.x
    • Version 2.2.20
    • Version 2.2.11
    • Version 2.2.10
    • Version 2.2.0
    • Version 2.0.0
    • Version 2.2.20
    • Version 2.2.11
    • Version 2.2.10
    • Version 2.2.0
    • Version 2.0.0
    • Version 2.0.0
    • Version 2.2.10
    • Version 2.0.0
  • Version 1.x
    • Version 1.2.1
    • Version 1.2
    • Version 1.0
    • Version 1.2.1
    • Version 1.2
    • Version 1.0
    • Version 1.2.1
    • Version 1.2
    • Version 1.0
    • Version 1.2.1
  • Documentation Homepage
Change +