Actions2
Scan Image
AI-generatedSummary
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
barcodesarray instead of an error; defaults to false.
Output shape
One output item per input item, with decoded barcode data added to its JSON.
The
barcodesarray contains at most one result, withtext,format,rawBytes,resultPoints(x/y coordinates), andtimestamp. 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 anerrorfield.