Actions35
- Archive Actions
- Audio Actions
- Document (PDF) Actions
- Image Actions
- Image Store Actions
- Job Actions
- OCR Actions
- Sign Actions
- Video Actions
OCR → Recognize Image
AI-generatedSummary
Extract text from an image or PDF file using OCR with configurable input sources and output formats.
Inputs
- Image URL — URL of the image or PDF to OCR; leave empty to use binary input.
- Binary Property — Name of the binary property containing the file to OCR, used when Image URL is empty.
- Output Format (required) — The format for the OCR result, either JSON with detailed word/line/block structure or plain text.
- Language (required) — Tesseract OCR language code (e.g., eng for English, nld for Dutch, deu for German, fra for French).
Output shape
a list of JSON objects containing the OCR results
Returns JSON with the OCR text results or OCR structure, depending on the selected Output Format. Input can be from a URL or binary data, and the operation supports both image and PDF inputs (for PDF, use the 'Recognize PDF' operation variant). Errors are reported per item if continue on fail is enabled.
Examples
Example 1: Recognize text from an image at a URL producing JSON output
Set 'Image URL' to the image's location, select Output Format as JSON, and specify OCR Language if other than 'eng'.
Example 2: Extract plain text from a binary PDF file
Leave 'Image URL' empty, specify the binary property holding the PDF file, select Output Format as Plain Text, and set the OCR Language accordingly.