Buffer or file path input
Reads msg.payload (or any configured Image property) accepting PNG, JPEG, WebP or GIF Buffers from file in, HTTP or MQTT, or a file path.
Decode Buffers or paths offline without blocking event loops, then branch on msg.texts, msg.codes or catch.
Reads msg.payload (or any configured Image property) accepting PNG, JPEG, WebP or GIF Buffers from file in, HTTP or MQTT, or a file path.
Writes the full report to msg.payload, decoded strings to msg.texts and base64 raw + symbology objects to msg.codes whilst keeping other fields.
Override fast (800 ms default) per message with msg.profile and msg.budgetMs; corrupt or oversized inputs (>8 MiB, 4,096 px) route to catch.
Prepare a known test image, run the scan and verify the returned value character by character.
Create a text QR code containing https://qrcode-ai.com/ and save it as qr-reference.png.
{
"payload": "qr-reference.png",
"profile": "fast",
"budgetMs": 0
}Node-RED decodes the file in its worker thread and sets msg.texts to ["https://qrcode-ai.com/"] alongside msg.codes and msg.payload.
Example result for qr-reference.png.
Node-RED 5.0+ requirements, Buffer vs path inputs, per-message overrides, limits and licensing.
Open Manage palette → Install and search for qrcode-barcode-scanner, or run npm install @qrcode-ai-com/node-red-qrcode-barcode-scanner inside ~/.node-red and restart Node-RED. See the Node-RED Flow Library or the npm package.
Node-RED 5.0 or later and Node.js 22.9 or later. Because the scanner engine runs as WebAssembly, no native compiler or host C library is required.
Yes. By default it reads msg.payload (configurable in the Image field), accepting either a Buffer of PNG, JPEG, WebP or GIF bytes (from file in, http request or MQTT) or a file path string.
It writes the complete engine report to msg.payload, decoded strings to msg.texts and structured detections (including base64 raw bytes) to msg.codes whilst preserving other msg properties. An empty image returns msg.texts as [] with status no code.
Profile defaults to fast (800 ms budget, reduced quality score). You can switch to frame (80 ms, no score) or full (4000 ms, full score) in the node editor or override per message via msg.profile and msg.budgetMs.
Images are capped at 8 MiB, 4,096 pixels per side and 16 million total pixels. Corrupt, missing, unknown-format or oversized inputs raise errors caught by a standard Node-RED catch node (such as QRS-001 or QRSCAN_INPUT_LIMIT).
Yes. Both the node and its WebAssembly engine dependency are free and open source under the MIT licence (with retained Apache-2.0 notices for two reader parts). Scanning runs offline on your host and never uses QR Code AI generation credits.
Consult the official listing and README for installation details, limits and supported formats.