page_layout
Reads a page's handwriting as numbered items with bounding boxes in reading order, so you can locate quiz options, headings, or errors and place marks accurately.
Instructions
Where the handwriting is: the page's ink grouped into numbered items (words and phrases on one line) with bounding boxes in page units, in reading order.
Use it before write_on_page to aim marks: read the numbered image, find the item you mean
(a quiz option, a wrong result, a heading), then place a check, ellipse, arrow, highlight or
note relative to its bbox [x0, y0, x1, y1] (e.g. a check at x1 + 20, (y0 + y1) / 2).Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| path | Yes | ||
| image | No | ||
| scale | No |