AI Painting | Stable Diffusion Art QR Code Production

Preface

This article teaches you how to use Stable Diffusion WEB UI to create artistic QR codes. What is artistic QR codes? It is a QR code image that is a fusion of ordinary QR codes and artistic images, as shown in the figure below. The main principle is to use controlNet's control_v1p_sd15_qrcode_monster model and light and shadow model control_v1p_sd15_brightness.
Insert image description here

Tutorial

Prepare an ordinary QR code

We can create a normal QR code in Cao QR Code https://cli.im/.
Insert image description here
It is worth noting that we need to click the settings icon to modify the QR code size. It is recommended to be 512*512 or larger, which can greatly increase the success rate and degree of QR code scanning after the image QR code is fused< /span>
Insert image description here
Appropriately lowering the error tolerance rate can reduce the density of black code points in the generated QR code image

  • What is the error tolerance rate of QR code?
    The error tolerance rate is also called the error correction rate, which means that the QR code can still be scanned normally after being blocked, and the maximum area that can be blocked is the error tolerance rate. The higher the fault tolerance rate, the larger the portion of the QR code image that can be blocked.

  • Principle of fault tolerance
    The QR code is redundant during the encoding process

Guess you like

Origin blog.csdn.net/weixin_40986713/article/details/134913527