read_page
Extract text, lines, words, bounding boxes, and OCR confidence from a single PDF page using existing text layers or Tesseract OCR.
Instructions
One page's text and lines (boxes in PDF points, OCR confidence); with words, every word too.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dpi | No | render resolution for OCR | |
| psm | No | Tesseract layout: 3 a page, 4 a column, 6 a block, 11 sparse | |
| lang | No | eng | |
| page | Yes | from 1 | |
| path | Yes | ||
| words | No | ||
| force_ocr | No |