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 rendered label still decodes to your exact barcode digits (leading zeros preserved).
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 Code 128 barcode encoding STOCK-4827 and save it as barcode-reference.png.
# Node: image/analysis -> Scan QR Codes and Barcodes
IMAGE: LoadImage("barcode-reference.png")
profile: fast
budget_ms: 0
expected_text: STOCK-4827
# Outputs -> texts, report_json, matches: true, count: 1ComfyUI processes the IMAGE batch on CPU, outputs matches as true and places the exact Code 128 string in texts and report_json.
Sample output for barcode-reference.png.
Comfy Registry & portable Windows setup, barcode label 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.
fast (the default) handles clean renders quickly and reports a reduced quality score. Switch to full for low-contrast, noisy or perspective-warped labels, and leave budget_ms at 0 for consistent outputs.
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.