LayoutRegion<T>
Models & Types · AiDotNet.Document
Represents a single detected layout region in a document.
Constructors
| Constructor | Summary |
|---|---|
LayoutRegion() |
Properties
| Property | Summary |
|---|---|
ConfidenceLevel ConfidenceLevel { get; } |
Gets the classification of confidence level. |
LayoutElementType ElementType { get; set; } |
Gets the type of layout element. |
T Confidence { get; set; } |
Gets the confidence score for this detection (0-1). |
Vector<T> BoundingBox { get; set; } |
Gets the bounding box as [x1, y1, x2, y2] in pixels or normalized coordinates. |
bool HasBoundingBox { get; } |
Gets whether the region is located on the page: BoundingBox holds its four corners. |
double ConfidenceValue { get; set; } |
Gets the confidence as a double value for comparison operations. |
int Index { get; set; } |
Gets the region index in the original detection order. |
int? ParentIndex { get; set; } |
Gets the parent region index if this is a nested element. |
string TextContent { get; set; } |
Gets the text content if available (requires OCR). |