OCR

media · A374 · starter-package 7.0.1

Extracts text from an image.

Use

Extract bounded text and optional page layout from one connected image or document resource without exposing local paths.

Provider setup

Set Provider endpoint to a compatible service. This block sends the connected input to that service and checks the response before continuing.

Connect Provider credential from an earlier credential block only when the service requires sign-in. Never enter a secret token in Provider endpoint or another normal text field.

For media blocks, connect a media output from an earlier successful block in the same workflow run. The provider receives the media and basic file information, but never its local path. Connect the result to any later block that accepts that media type.

Connect a file from Show File Picker or Download from URL. Nodestly recognizes its format from the file contents before sending the bytes to the provider. Supported formats are PNG, JPEG, GIF, WebP, TIFF, BMP, PDF. The provider must also support the chosen format.

Inputs

  • media — Image or document: text; required; default none; accepted output: Image, Document, File.
  • pageRanges — Page ranges: text; optional; default empty.
  • languageHints — Language hints: list; optional; default empty list; maximum 32.
  • structured — Structured layout: boolean; optional; default true.
  • providerEndpoint — Provider endpoint: text; validated URL text; required; default none.
  • providerCredential — Provider credential: text; optional; default none; accepted output: Credential.
  • timeoutMs — Timeout (ms): number; optional; default 60000; minimum 1000; maximum 300000.

Outputs

  • text — Text: text; checked before the workflow continues.
  • pages — Pages: list; checked before the workflow continues.
  • confidence — Confidence: number; checked before the workflow continues.

Settings

Connected input takes precedence over the corresponding saved setting.

IDSettingControlDefaultBounds/options
pageRangesPage rangestextempty—
structuredStructured layoutcheckboxtrue—
providerEndpointProvider endpointtextnone—
timeoutMsTimeout (ms)number60000minimum 1000; maximum 300000

Error handling

  • Invalid or missing input stops before a network request and names the affected input or setting.
  • If connected media or credentials are no longer available, the message tells you which connection to replace.
  • Connection, timeout, sign-in, unsupported action, provider, response-size, and invalid-response failures have separate clear messages and recovery steps.
  • A successful HTTP response still stops the workflow when required output is missing, has the wrong data type, is too large, or cannot be used by the next block.
  • Provider response bodies, credentials, local paths, and internal implementation details are not shown in user-facing errors.

Exact settings reference

These are the saved settings and defaults. If a value is connected to the matching input, that connected value is used.

IDSettingControlDefaultBounds/options
pageRangesPage rangestextEmpty text—
structuredStructured layoutcheckboxtrue—
providerEndpointProvider endpointtextEmpty text—
timeoutMsTimeout (ms)number60000—