import { type DocumentPage } from "https://deno.land/x/aiformrecognizer@v1.1.0/mod.ts";
Content and layout elements extracted from a page from the input.
Properties
The general orientation of the content in clockwise direction, measured in degrees between (-180, 180].
optional
unit: LengthUnitThe unit used by the width, height, and polygon properties. For images, the unit is "pixel". For PDF, the unit is "inch".
optional
lines: DocumentLine[]Extracted lines from the page, potentially containing both textual and visual elements.