Ilyworks icon

Ilyworks

Transform images and video with the Ilyworks media API

OCR → Recognize PDF

AI-generated

Summary

Extract text from a specified page of a PDF file using OCR with optional input via URL or binary data.

Inputs

  • Image URL — URL of the PDF file to perform OCR on. Leave empty to use binary input instead.
  • Binary Property — Name of the binary property containing the PDF file; used if no URL is provided.
  • Output Format (required) — Format of the OCR output, either detailed JSON (words, lines, blocks) or plain text.
  • Language (required) — Tesseract OCR language code to use for recognition (e.g., eng, nld, deu, fra).
  • Page (0-Based) (required) — Zero-based index of the PDF page to extract text from.

Output shape

a single JSON object containing the recognized text in the specified output format

If the input is provided via URL, the node sends the URL in the request body; if via binary data, the PDF file is uploaded as multipart form data. The output depends on the chosen format: either JSON structured with words, lines, and blocks, or plain text string.

Links

Discussion