QR Code Auto Approach | ComfyUI Workflow版本v1.1 (ID: 456926)

QR Code Auto Approach | ComfyUI Workflow版本v1.1 (ID: 456926)

(check v1.0 page for more scannable QR code images)

Each time you press "Queue Prompt", it will return more and more readable QR!

Installation and dependencies

The archive contains two workflows:

QR_Base_NoCycles

QR_Base_NoCycles is a traditional workflow to generate QR Code in one go. It's fine-tuned, but may require trial-and-error anyway.

  1. Install ComfyQR custom nodes;

  2. Download ControlNet QR Pattern and put it in "/models/ControlNet" folder;

  3. Download Latent Cat Brightness model and put it in "/models/ControlNet" folder;

  4. (recommended) Download blessed2 VAE and put it in "/models/vae" folder;

  5. (recommended) Install WAS Node Suite custom nodes;

  6. (recommended) Install Masquerade custom nodes;

  7. (optional) Install Allor custom nodes.

It is possible to go without WAS and Masquerade, but you'd have to delete "Error Correction" group.

Allor is a very heavy plugin (90+ nodes), and you can skip it, just shortcut ImageFilterNode (it's for rounding corners).

QR_Cycles

QR_Cycles is an improved workflow that starts generating a barely readable QR, but applies more and more strict conditions every time you press "Queue Prompt".

  1. Same requirenments as the QR_base_NoCycles workflow;

  2. Install Cyclist custom nodes;

  3. (optional) Install ComfyQR-scanning-nodes.

How to use

  1. Input QR Code text.

  2. Select model.

  3. Write prompt. Mention details which tend to fragment: mosaic, waves, leaves, etc.

  4. (optional) Write keywords for big squares in corners, example: "(box, tree branch, stone:0.6)". Weights must be halved. Connect prompt to nearest ControlNet node.

  5. Press "Queue prompt". Most likely, first result will not be readable.

  6. Scan the result with your phone. If not readable, queue prompt again. Each subsequent result will be better! It will take from 1 to 5 iterations.

  7. Press "New Cycle" when result is good enough! Otherwise, workflow will continue to improve readability, overwriting your result!

If you go with automatic scanning (see below), you don't need to worry about pressing "New Cycle", it updates automatically. It also updates when you cancel the queue in panic.

Scanning

Method 1: Phone

Most likely, your phone browser can scan QR Codes. Tap on an address bar and look for QR icon.

By the way, you can attach your phone to some stand, directed towards monitor.

Method 2: Automatic

It is possible for this workflow to automatically detect QR and stop when it's readable!

  1. Unmute "Test QR to Stop" group;

  2. Check "Extra Options" and "Auto Queue" in ComfyUI menu.

  3. Press "Queue Prompt".

This way, generation will automatically repeat itself until QR Code is readable.

The problem is, it relies on zbar library, which is incredibly outdated. It will successfully read QR only when it's very readable. It might also be tricky to install, you might have to search for the best python implementation (pyzbar? zbarlight?). It might also require MVSC installation. This installation guide might help (didn't try): Install zbarlight on Windows.

Resources

Model: It's unpredictable to say how model will perform at making QR Codes. But my recommendations are:

VAE: For some reason, blessed2 VAE greatly improves scannability.

Notes

  • If result is too good first try, lower "Starting Iteration" to zero (bottom left node).

  • Face detailer is not included. I assume you already have your favourite workflow to improve faces.

  • Keywords for square corners will inevitably bleed to the whole picture. Keep theirs weights low.

Check out my other workflows.

描述:

  1. Loop Manager added.

  2. ImageFilterNode added (rounding corners).

  3. Loop Manager default mode set to 'never' (minor change at 25.04.2024 without version increment).

训练词语:

名称: qrCodeAutoApproach_v11.zip

大小 (KB): 15

类型: Archive

Pickle 扫描结果: Success

Pickle 扫描信息: No Pickle imports

病毒扫描结果: Success

QR Code Auto Approach | ComfyUI Workflow

QR Code Auto Approach | ComfyUI Workflow

资源下载
下载价格VIP专享
仅限VIP下载升级VIP
犹豫不决让我们错失一次又一次机会!!!
原文链接:https://1111down.com/1025540.html,转载请注明出处
由于网站升级,部分用户密码全部设置为111111,登入后自己修改, 并且VIP等级提升一级(包月提升至包季,包季提升到包年 包年提升至永久)
没有账号?注册  忘记密码?

社交账号快速登录