ComfyUI QR Code Scanner Node

Verify every QR code across a ComfyUI IMAGE batch locally inside ComfyUI's Python process. Confirm AI-generated or edited QR renders still decode to your exact text.

Install via Comfy CLI or ComfyUI Manager

Adds the qrcode-barcode-scanner Python wheel into ComfyUI's environment.

  1. 1

    Execute the Comfy CLI command below, or search QR Code & Barcode Scanner in ComfyUI Manager.

    Shell
    comfy node install qrcode-barcode-scanner-nodes
  2. 2

    Restart ComfyUI, add Scan QR Codes and Barcodes from image/analysis and wire any IMAGE batch.

  3. 3

    Choose fast (default) or full (for artistic QR codes), set optional expected_text and check texts, matches and count.

Executes on CPU inside ComfyUI's Python process; keeps the input IMAGE tensor untouched and makes zero network calls.

Comfy Registry

Check QR codes inside ComfyUI image graphs

Validate generated or edited IMAGE tensors locally on CPU without altering pixel buffers.

Batch IMAGE tensor scanning

Processes every image in a ComfyUI IMAGE batch (converting 0 to 1 float to 8-bit RGBA unchanged) up to 10,000 px per side and 64 MP.

expected_text & matches gate

Provide expected_text to confirm every artistic QR render still decodes to your exact URL, emitting a boolean matches flag.

texts, count & report_json

Emits one decoded line per code in batch sequence, total code count and a JSON array of unchanged engine reports plus graph logs.

Test a QR image in ComfyUI

Save a known reference image, queue the node scan and confirm the decoded string character for character.

qr-reference.png

Create a text QR code encoding https://qrcode-ai.com/ and save it as qr-reference.png.

Wire Scan QR Codes and Barcodes in ComfyUI

Text
# Node: image/analysis -> Scan QR Codes and Barcodes
IMAGE:         LoadImage("qr-reference.png")
profile:       full
budget_ms:     0
expected_text: https://qrcode-ai.com/
# Outputs -> texts, report_json, matches: true, count: 1
Expected result · QR code
https://qrcode-ai.com/

ComfyUI processes the IMAGE batch on CPU, outputs matches as true and places the exact QR URL in texts and report_json.

Sample output for qr-reference.png.

ComfyUI QR Code Scanner node questions

Comfy Registry & portable Windows setup, artistic QR profiles, IMAGE batching and licensing.

Search QR Code & Barcode Scanner in ComfyUI Manager, execute comfy node install qrcode-barcode-scanner-nodes, or clone the repo into ComfyUI/custom_nodes and install requirements.txt. Check Comfy Registry.

Clone qrcode-barcode-scanner-comfyui into ComfyUI/custom_nodes, install requirements.txt with ComfyUI's bundled python_embeded\python.exe, then restart ComfyUI so the wheel loads inside the embedded Python environment.

Change profile from fast (the default) to full. full performs the deepest preprocessing and full quality scoring needed for stylised or artistic QR codes. Keep budget_ms at 0 so CPU load does not interrupt decoding.

When expected_text is set, matches returns true only if every image in the IMAGE batch includes a code decoding to that exact string (preserving leading zeros and letter case). When left blank, matches returns true if every image contains at least one readable code.

No. The engine executes on CPU inside ComfyUI's Python process, makes zero network calls, never opens decoded URLs and leaves the incoming IMAGE tensor unchanged.

Every image in the batch may measure up to 10,000 pixels on either side and up to 64 million total pixels. Larger images halt the node with the engine's QRS- error code and the batch image number.

Yes. Both the ComfyUI custom node and current PyPI engine wheel are free and MIT-licensed for local use, independent of QR Code AI accounts, generation credits or paid plans.

ComfyUI setup and QR Code Scanner references

Check the official listing and README for installation steps, batch caps and supported formats.