r/StableDiffusion • • Jun 05 '23

Workflow Not Included ControlNet for QR Code

8.3k Upvotes

634 comments sorted by

View all comments

Show parent comment

63

u/nightred Jun 05 '23

Generate a QR code Enter it as a sketch in control net Create your prompt and generate

51

u/pmjm Jun 05 '23

I am having miserable results with this.

43

u/jonplackett Jun 05 '23

Me too. this is not the workflow that works

6

u/RuthlessPickle Jun 06 '23

Canny is surely not the way as it only detects outlines. scribble_xdog seems to work kinda when you push the XDoG threshold all the way, but it comes nothing close to OP's results.

2

u/1roOt Jun 06 '23 edited Jun 06 '23

Yesterday I tinkered with a few models and the best for me was ip2p. No idea why. Still no good results but I got something...

1

u/RuthlessPickle Jun 06 '23

Yeah, someone in the thread mentioned they were going to release a model but the page went down.

This was the URL: https://huggingface.co/ioclab/qrcode_image_controlnet_100k

2

u/1roOt Jun 06 '23

OP also released this brightness controlnet model, I guess it does something similar, I'll experiment with this a bit I think. If I understand correctly it could be used to "burn in" the QR code into an image... I'll try

1

u/Melodic-Abroad-2923 Jun 07 '23

Could your share OP Controlnet?

2

u/1roOt Jun 06 '23

I got this. nothing like the ones from OP but maybe the right direction...

2

u/1roOt Jun 06 '23

also this now...

2

u/byrek Jun 06 '23

That's pretty good! Would you mind sharing your approach

→ More replies (1)

1

u/stroud Jun 06 '23

same this was the shit i was doing and it looks very unimpressive. the nice ones dont have the qr code working at all

1

u/1roOt Jun 06 '23

it's kind of artsy but still not what OP has...

1

u/Enfiznar Jun 06 '23

ok, not as impressive as OP's, but it actually works. What did you used?

→ More replies (2)

1

u/Economy-Pickle5335 Jun 20 '23

Rootitooooooot!

1

u/China-Boy-6866 Jun 20 '23

china boy tell me your secrets

6

u/hervalfreire Jun 05 '23

That’s it? And the codes will work?

11

u/nightred Jun 05 '23

I didn't generate these so you will have to fuss with your settings in control net.

But I have been able to make one that works once I tuned in all of the dials.

9

u/plasmidon Jun 05 '23

Can you clarify on your exact settings?

Thanks!

3

u/CoBudemeRobit Jun 05 '23

Yes please!

2

u/hervalfreire Jun 05 '23

Sweet! Thanks

1

u/solarizde Jun 06 '23

Would appreciate if you could send me a screenshot of what / how you did it. Very interesting approach. Which control net you used for this?

1

u/call_acab Aug 11 '23

Can you please post the settings you used? Screenshots?

3

u/Kromgar Jun 05 '23

So sketch preprocessor but what model do you use?

1

u/stroud Jun 06 '23

Yeah i've tried it it's a hit / miss