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.

CTextLineResultItem

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

Definition

Namespace: dynamsoft::dlr

Assembly: DynamsoftLabelRecognizer

class CTextLineResultItem : public CCapturedResultItem

Inheritance: CCapturedResultItem -> CTextLineResultItem

Methods Summary

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.
GetCharacterResultsCount Gets the count of character results in the text line.
GetCharacterResult Gets the character result at the specified index.

GetText

It is used to get the text content of the text line.

virtual const char* GetText() const = 0;

Return value

Returns the text content of the text line.

GetLocation

It is used to get the location of the text line in the form of a quadrilateral.

virtual CQuadrilateral GetLocation() const = 0;

Return value

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

GetConfidence

It is used to get the confidence of the text line recognition result.

virtual int GetConfidence() const = 0;

Return value

Returns the confidence of the text line recognition result.

GetCharacterResultsCount

It is used to get the count of character results in the text line.

virtual int GetCharacterResultsCount() const = 0;

Return value

Returns the count of character results in the text line.

GetCharacterResult

It is used to get the character result at the specified index.

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

Parameters

[in] index The index of the character result to get.

[out] charResult The character result at the specified index.

Return value

Returns 0 if successful, otherwise returns a non-zero error code.

This page is compatible for:

Version 7.5.0

Is this page helpful?

YesYes NoNo

In this article:

version 3.0.20

  • Latest version(3.2.20)
  • Version 3.x
    • 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.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
Change +
© 2003–2024 Dynamsoft. All rights reserved.
Privacy Statement / Site Map / Home / Purchase / Support