Documentation
Table of contents

RecognizedTextLinesUnit

The RecognizedTextLinesUnit class represents an intermediate result unit containing recognized text lines. It inherits from the IntermediateResultUnit class.

Definition

Namespace: Dynamsoft.DLR.intermediate_results

class RecognizedTextLinesUnit : IntermediateResultUnit, IEnumerable<RecognizedTextLineElement>

Inheritance: IntermediateResultUnit -> RecognizedTextLinesUnit

Methods

Method Description
GetCount Gets the number of recognized text lines in the unit.
GetRecognizedTextLine Gets the RecognizedTextLineElement object at the specified index.
GetRecognizedTextLines Gets all the RecognizedTextLineElement objects.
RemoveAllRecognizedTextLines Removes all recognized text lines.
RemoveRecognizedTextLine Removes the recognized text line at the specified index.
AddRecognizedTextLine Adds a recognized text line.
SetRecognizedTextLine Sets the recognized text line at the specified index.

GetCount

Gets the number of recognized text lines in the unit.

int GetCount()

Return value

Returns the number of recognized text lines in the unit.

GetRecognizedTextLine

Gets the RecognizedTextLineElement object at the specified index.

RecognizedTextLineElement GetRecognizedTextLine(int index)

Parameters

[in] index The index of the desired RecognizedTextLineElement object.

Return value

Returns the RecognizedTextLineElement object at the specified index.

See Also

RecognizedTextLineElement

GetRecognizedTextLines

Gets all the RecognizedTextLineElement objects.

RecognizedTextLineElement[] GetRecognizedTextLines()

Return value

Returns all the RecognizedTextLineElement objects.

See Also

RecognizedTextLineElement

RemoveAllRecognizedTextLines

Removes all recognized text lines.

void RemoveAllRecognizedTextLines()

RemoveRecognizedTextLine

Removes the recognized text line at the specified index.

int RemoveRecognizedTextLine(int index)

Parameters

[in] index The index of the recognized text line to remove.

Return value

Returns 0 if successful, otherwise returns a negative value.

AddRecognizedTextLine

Adds a recognized text line.

int AddRecognizedTextLine(RecognizedTextLineElement recognizedTextLine, double[] matrixToOriginalImage)

Parameters

[in] recognizedTextLine The recognized text line to add.

[in] matrixToOriginalImage The matrix to original image.

Return value

Returns 0 if successful, otherwise returns a negative value.

See Also

RecognizedTextLineElement

SetRecognizedTextLine

Sets the recognized text line at the specified index.

int SetRecognizedTextLine(int index, RecognizedTextLineElement recognizedTextLine, double[] matrixToOriginalImage)

Parameters

[in] index The index of the recognized text line to set.

[in] recognizedTextLine The recognized text line to set.

[in] matrixToOriginalImage The matrix to original image.

Return value

Returns 0 if successful, otherwise returns a negative value.

See Also

RecognizedTextLineElement

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: