OCRBlock<T>

Models & Types · AiDotNet.Document

Represents a block (paragraph or region) of recognized text.

Constructors

Constructor Summary
OCRBlock()

Properties

Property Summary
IReadOnlyList<OCRLine<T>> Lines { get; set; } Gets the lines in this block.
LayoutElementType BlockType { get; set; } Gets the detected block type (text, table, figure, etc.).
T AverageConfidence { get; set; } Gets the average confidence for text in this block.
Vector<T> BoundingBox { get; set; } Gets the bounding box as [x1, y1, x2, y2].
string Text { get; set; } Gets the full text of the block.