ocr_pdf
Add a searchable text layer to scanned PDFs, making them selectable and searchable. Use before extracting text from scans or photographed documents.
Instructions
Add a searchable text layer to a scanned PDF, making it selectable and searchable. Use this before extracting text from a scan or a photographed document. Scans at 300 DPI or higher read well; below 150 DPI the result degrades badly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to the scanned PDF. | |
| output_path | No | Absolute path to write the result to. Defaults to the input file with a "-papyrio.pdf" suffix. |