by nfriend on 11/11/22, 2:32 PM with 71 comments
I've had the best results with pictures of houses, although certain photos of people or nature can look neat, too. (For example: https://brushify.art/s/ruYmQWk, original photo from https://en.wikipedia.org/wiki/Pillars_of_Creation.) The effect obscures the edges of the photo, so images with plenty of margin around the subject work best.
Something I'd like to play around with is swapping the GIMP script for an AI-based process (maybe using something like Stable Diffusion?), with the goal of generating images that look more handmade (something like these: https://www.etsy.com/ca/search?q=watercolor+house). I have exactly zero AI experience though, so there would be a bit of a learning curve.
Would love any thoughts or critiques!
----
edit: remove unrelated details
by rikroots on 11/11/22, 5:17 PM
[1] - Tyler Hobbs (2017) - a guide to simulating watercolor paint with generative art - https://tylerxhobbs.com/essays/2017/a-generative-approach-to...
[2] - Curtis|Anderson|Seims|Fleischery|Salesin (undated) - Computer-Generated Watercolor - https://grail.cs.washington.edu/projects/watercolor/paper_sm...
by kuu on 11/11/22, 3:23 PM
Otherwise the process is the following:
I enter the page -> Upload image -> See 4h of queue for getting my result -> I close the tab, leaving there a pending task.
by synapticpaint on 11/11/22, 4:33 PM
Here's how I would approach it: train a dreambooth model on watercolor style images, then run image-to-image using that model.
For examples of what dreambooth models can do see: https://synapticpaint.com/dreambooth/info/ (sample images here generated using a "modern disney" style model).
If you need help getting this set up feel free to email me! This stuff is probably not harder than getting gimp to run in a container.
by nfriend on 11/11/22, 3:07 PM
by tfsh on 11/11/22, 4:29 PM
Any chance of porting this to the web using WASM? I've used ImageMagick in the browser before, I've never used Gimp, but if there's enough overlap you could use the former. That's of course assuming two things:
1) you have the time
2) you're happy to port the closed source, source code to the client
Both of which are perfectly fine to answer with a "no" :)
Also, I think it would be prudent to terminate the request if the client instance is destroyed. Right now I assume there's a bunch of requests being processed for users who have closed the tab.
by wingworks on 11/11/22, 10:37 PM
by chrischen on 11/12/22, 12:13 AM
You can implement with something like this and simply train it against a watercolor image: https://github.com/yusuketomoto/chainer-fast-neuralstyle
Haven’t tried it with stable diffusion but you’d probably have more control and better results with a CNN like the one I linked.
by andai on 11/11/22, 7:44 PM
by jasonjmcghee on 11/11/22, 4:29 PM
What you want to gain is experience with prompt engineering for these tools.
Here's a good resource https://openart.ai/promptbook
by bambax on 11/11/22, 4:23 PM
Dall-e offers an API with some limitations (max 4MB square PNG, content filtering): https://beta.openai.com/docs/guides/images/usage
Photopea.com has a watercolor filter, in JS, all client side. It's not very good ATM so there's certainly room for improvement. Doing it all client side would solve the queue problem.
by gregoriol on 11/11/22, 3:29 PM
Have fun!
by ikkjo on 11/12/22, 11:36 AM
by justchad on 11/11/22, 3:16 PM
Like you said I bet using Stable Diffusion would speed this up dramatically but who knows if you'll get the same effect on your images.
by _448 on 11/11/22, 3:20 PM
by yuvalkarmi on 11/11/22, 2:54 PM
by seshagiric on 11/12/22, 12:14 AM
by asmosoinio on 11/11/22, 7:53 PM
Seeing example output would be interesting, even if service is hugged to death.
by hollowdene on 11/11/22, 2:55 PM
PS: Congrats on the little one. :D
by iruoy on 11/11/22, 2:59 PM
by _dan on 11/11/22, 4:21 PM
by pknerd on 11/11/22, 3:45 PM
It's a busy day! There are currently 512 people in front of you. Please keep this tab open!
Estimated wait time: 7 hours, 7 minutes
by keizo on 11/12/22, 2:56 AM
by stoobs on 11/11/22, 3:38 PM
Oops, sorry OP for all the traffic :D
by the_arun on 11/11/22, 8:23 PM
by diego_moita on 11/11/22, 10:11 PM
by Kiro on 11/11/22, 7:13 PM
by Kaotique on 11/11/22, 2:53 PM
by notyourav on 11/11/22, 4:56 PM
by tristanbvk on 11/11/22, 2:55 PM
by hackmiester on 11/11/22, 4:45 PM
Plus we have to be real and say, is the only reason the queue so long, because you let a bunch of nerds on HN add to the queue for free? I'm guessing the answer is, "probably." No need to engineer a fix for a problem that will typically not exist.
by XCSme on 11/11/22, 5:01 PM
> There are currently 1069 people in front of you. Please keep this tab open!
> Estimated wait time: 14 hours, 51 minutes
by moffkalast on 11/11/22, 3:04 PM
Bruh moment.
I suppose it would make more sense to WASM the implementation and run it clientside?
by ale42 on 11/11/22, 4:08 PM
The hug is getting tighter ;-)
by xchip on 11/11/22, 2:47 PM