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.
Validate generated or edited IMAGE tensors locally on CPU without altering pixel buffers.
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.
Provide expected_text to confirm every artistic QR render still decodes to your exact URL, emitting a boolean matches flag.
Emits one decoded line per code in batch sequence, total code count and a JSON array of unchanged engine reports plus graph logs.
Save a known reference image, queue the node scan and confirm the decoded string character for character.
Create a text QR code encoding https://qrcode-ai.com/ and save it as qr-reference.png.
# 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: 1ComfyUI 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.
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.
Check the official listing and README for installation steps, batch caps and supported formats.