Recognize text in scanned PDF pages with the Windows OCR engine.
Inputs and settings
- PDF file (
file, Text File reference, required). Connect a File output from an earlier block. - Pages (
range, Text). Useall(default) or a one-based selection such as1-3,8. Page results follow page order. Select at most 12 pages. - OCR language (
language, Text). Enterauto(default) to use an installed language from the current Windows profile. Enter an installed language tag such asnl-NLfor a matching recognizer. - Fire (
fire). Starts recognition when the block runs.
Outputs
- Recognized text (
text, Text). Page texts are separated by a blank line. - Page results (
pages, List). Each Record has a one-basedpageand atextvalue. - Recognizer language (
language, Text). The language tag actually used by Windows. - Fire (
fire). Emitted after recognition completes.
Example and recovery
Connect a scanned invoice, choose page 1, and extract its total from Recognized text. Blank pages can yield empty text. OCR quality depends on the scan and language. For a searchable PDF, Starter’s Extract PDF Text can read the document’s existing text layer.
The PDF needs to open without a password and fit within 32 MiB and 500 pages. The block keeps the recognized text on your Windows device. Its temporary input copy is removed after the child process stops. If the requested language is missing, install its OCR capability in Windows settings or select auto. If page rendering fails, try a smaller range of a PDF that opens locally.
