Table of Contents

Class OCRLine<T>

Namespace
AiDotNet.Document
Assembly
AiDotNet.dll

Represents a line of recognized text.

public class OCRLine<T>

Type Parameters

T

The numeric type used for calculations.

Inheritance
OCRLine<T>
Inherited Members

Properties

AverageConfidence

Gets the average confidence for words in this line.

public T AverageConfidence { get; init; }

Property Value

T

BlockIndex

Gets the block index this line belongs to.

public int BlockIndex { get; init; }

Property Value

int

BoundingBox

Gets the bounding box as [x1, y1, x2, y2].

public Vector<T> BoundingBox { get; init; }

Property Value

Vector<T>

Text

Gets the full text of the line.

public string Text { get; init; }

Property Value

string

Words

Gets the words in this line.

public IReadOnlyList<OCRWord<T>> Words { get; init; }

Property Value

IReadOnlyList<OCRWord<T>>