Table of Contents

Class DocumentBlock<T>

Namespace
AiDotNet.ComputerVision.Visualization
Assembly
AiDotNet.dll

A block in a document (paragraph, table, figure, etc.).

public class DocumentBlock<T>

Type Parameters

T

The numeric type used for calculations.

Inheritance
DocumentBlock<T>
Inherited Members

Properties

Box

Bounding box of the block.

public BoundingBox<T> Box { get; set; }

Property Value

BoundingBox<T>

Confidence

Confidence score.

public T Confidence { get; set; }

Property Value

T

Text

Text content (if applicable).

public string? Text { get; set; }

Property Value

string

TextRegions

Child text regions within this block.

public List<RecognizedText<T>>? TextRegions { get; set; }

Property Value

List<RecognizedText<T>>

Type

Type of document block.

public DocumentBlockType Type { get; set; }

Property Value

DocumentBlockType