Skip to content
Lamina PDF
0.9.0
GitHub
Open the web app

ModelResult

type ModelResult =
| {
kind: "layout";
regions: readonly LayoutRegion[];
}
| {
kind: "ocr";
words: readonly OcrWord[];
};

Defined in: packages/sdk/src/extract-job.ts:107

A model’s result for ExtractJob.provide, boxes as [x, y, width, height] in top-left points.

0.2.0