Interface: LayoutBlock
Defined in: packages/agentos/src/io/vision/types.ts:204
A semantic block within a document page — a paragraph, table, figure, heading, list, or code snippet.
Properties
bbox
bbox:
object
Defined in: packages/agentos/src/io/vision/types.ts:215
Bounding box in page coordinates (pixels). Origin is top-left corner of the page.
height
height:
number
width
width:
number
x
x:
number
y
y:
number
confidence
confidence:
number
Defined in: packages/agentos/src/io/vision/types.ts:223
Confidence score for this block detection (0–1).
content
content:
string
Defined in: packages/agentos/src/io/vision/types.ts:209
Text content extracted from the block.
type
type:
"text"|"code"|"table"|"figure"|"heading"|"list"
Defined in: packages/agentos/src/io/vision/types.ts:206
Semantic type of the block.