Barcode Scanner icon

Barcode Scanner

Scan or generate barcodes and labels from images

Scan Image

AI-generated

Summary

Scans each input item’s image for a barcode, trying the image in its original orientation and then rotated if no barcode is found. Adds the decoded result to the item’s JSON as a barcodes array while preserving its existing JSON fields.

Inputs

  • Binary Property (required) — Name of the input binary property containing the image; defaults to data.
  • Try Harder — Whether to spend more time attempting to decode a barcode; defaults to false.
  • Formats — Barcode formats to detect. Select one or more, or leave empty to try all supported formats.
  • Ignore Errors — When enabled, a missing barcode produces an empty barcodes array instead of an error; defaults to false.

Output shape

One output item per input item, with decoded barcode data added to its JSON.

The barcodes array contains at most one result, with text, format, rawBytes, resultPoints (x/y coordinates), and timestamp. Existing JSON fields are preserved. Missing binary data always raises an error; when no barcode is found, the operation raises an error unless Ignore Errors is enabled. Workflow-level Continue On Fail can return an item containing an error field.

Links

Discussion