Live data from Hacker News

How to make a QR code with Stable Diffusion

stable-diffusion-art.com

41–50 of 75 posts

Re: How to make a QR code with Stable Diffusion

#41
post #25
post #7

The funny thing is that no-one AFAICT has realized that the same content can be encoded in different-looking QR codes. Beside the obvious (different error-correction levels), the content itself can be changed while maintaining its semantic meaning (e.g. " https://example.com/foo ", "HTTPS://EXAMPLE.COM/foo", or "HtTpS://eXaMpLe.CoM/foo" are all semantically identical) and even the QR encoding itself can be tweaked (e…

QR codes have several different bit-pattern masks, which an encoder should choose between to avoid blocks or runs.. so even without altering the URL there are different outputs. [A-Z0-9] encodes a lot more efficiently than [a-zA-Z0-9] so there are other considerations when altering a url.

Yes, that's what I meant.

Re: How to make a QR code with Stable Diffusion

#42
post #39
post #24

Earlier quoted context omitted.

Diffusion models cannot generate a qr code by itself. The article even shows you need to generate the base image yourself. What you are proposing would mean bruteforcing the QR codes until we see a better shape.

Sure, but as I mentioned it has absolutely nothing to do with the CRC calculation, that is what you claimed.

Without CRC calculation you could just check which square correspond to which letter and possibly change the letter casing. But with CRC it will leads to squares changing in the CRC area.

Re: How to make a QR code with Stable Diffusion

#45

As an engineer, the lack of consideration for the matter of how much one should corrupt a signal (which might be scanned under different conditions, such as different light levels and resolutions) is grating to me. It’s like scratching a design onto the bottom of an audio CD, playing it, and if it works on your CD player, shipping it. “Works for me”

Meanwhile, bare QR codes are ugly AF and draw the eye away from any other design... Things like this might lead to greater use.

Greater use of QR is not a good thing, it's an attack vector actually

Re: How to make a QR code with Stable Diffusion

#47
post #42
post #39

Earlier quoted context omitted.

Sure, but as I mentioned it has absolutely nothing to do with the CRC calculation, that is what you claimed.

Without CRC calculation you could just check which square correspond to which letter and possibly change the letter casing. But with CRC it will leads to squares changing in the CRC area.

Yes, that's the whole point. I did not claim you can control every single module in the QR. I just said that you can get different QR codes for the same semantic content.

Re: How to make a QR code with Stable Diffusion

#48
post #32

Ad ad ad ad ad AD ad AD ad Ad.... And some content in between

There are ads on this page? I almost forgot that I've been experiencing the internet ad-free for years now. Thanks uBlock!

Maybe the QR code examples are ads? I don't know, I didn't scan them

Re: How to make a QR code with Stable Diffusion

#49

As an engineer, the lack of consideration for the matter of how much one should corrupt a signal (which might be scanned under different conditions, such as different light levels and resolutions) is grating to me. It’s like scratching a design onto the bottom of an audio CD, playing it, and if it works on your CD player, shipping it. “Works for me”

Engineer here as well.

What is the quality metric?

Does it need to work in an emergency?

Does it need to look cool more than it needs to work instantly? (like an ad)

Also, I imagine most people use like 3 QR code readers, snapchat, the camera app for ios/android. Seems pretty trivial to test for 80% of the population.

Post reply on HN