Table of Contents

Class OCRWord<T>

Namespace
AiDotNet.Document
Assembly
AiDotNet.dll

Represents a single recognized word.

public class OCRWord<T>

Type Parameters

T

The numeric type used for calculations.

Inheritance
OCRWord<T>
Inherited Members

Properties

BlockIndex

Gets the block index this word 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>

Confidence

Gets the confidence score (0-1).

public T Confidence { get; init; }

Property Value

T

LineIndex

Gets the line index this word belongs to.

public int LineIndex { get; init; }

Property Value

int

Text

Gets the recognized text.

public string Text { get; init; }

Property Value

string