Workflows & Agent uploads
Attach Scan QR codes and barcodes (scan_image) to PNG, JPEG, WebP or GIF uploads up to 16 MiB, 4,096 px per side and 16 MP.
Replace vision-model guesswork with exact local decoding, typed output variables and clean error branching.
Attach Scan QR codes and barcodes (scan_image) to PNG, JPEG, WebP or GIF uploads up to 16 MiB, 4,096 px per side and 16 MP.
Places exact barcode strings (leading zeros intact) in texts, alongside count, complete and the full JSON report without external lookups.
Blank images return count 0 cleanly; corrupt or oversized uploads raise a QRS- error code for clean workflow failure routing.
Save a known reference image, execute the workflow tool and confirm the decoded string character for character.
Create a Code 128 barcode encoding STOCK-4827 and save it as barcode-reference.png.
# Tool: Scan QR codes and barcodes (scan_image)
image: barcode-reference.png (user upload)
profile: fast
budget_ms: 0
# Output -> texts: ["STOCK-4827"], count: 1, complete: trueDify decodes the uploaded label locally inside the plugin runtime and populates texts with the exact Code 128 string without an LLM.
Sample output for barcode-reference.png.
Marketplace install, self-hosted .difypkg builds, tool outputs, caps and privacy.
In Dify, go to Plugins → Marketplace, search for QR Code & Barcode Scanner and click Install. You can also check the official page on Dify Marketplace.
No. The open-source Rust/Python engine runs locally inside Dify's Python 3.12 plugin runtime, so decoding needs no vision model, no QR Code AI account and no external API key.
Yes. Build a .difypkg archive from the repo with dify plugin package ./qrcode-barcode-scanner-dify, add FORCE_VERIFYING_SIGNATURE=false to docker/.env for unsigned local packages, restart Dify and upload it via Install plugin → Local package file.
It outputs a one-line text summary, the unchanged engine JSON report and three workflow variables: texts (decoded strings), count (total codes found) and complete (false when budget_ms stops decoding early).
One PNG, JPEG, WebP or GIF upload per call, capped at 16 MiB, 4,096 pixels per side and 16 million total pixels. Oversized or corrupt files fail with a QRS- error code so downstream nodes can handle them on a failure branch.
Yes. It reads 16 barcode symbologies directly inside Dify's runtime, preserving every digit and leading zero in texts without querying external retail, shipping or ISBN catalogues.
Yes. Both the plugin source and current PyPI engine wheel are free and MIT-licensed, completely separate from QR Code AI generation credits or paid plans.
Check the official listing and README for installation steps, upload caps and supported formats.