this post was submitted on 04 Aug 2024
39 points (86.8% liked)

Open Source

31111 readers
347 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
 

Are there any AI open source software / tools / projects that can do image manipulation such as removing backgrounds, or isolating/cutting out a subject or person, or similar things? Manually cutting out things in gimp is a massive PIA and i see there are online tools that seemingly accomplish this using AI but they are locked behind making accounts/credit card/other barriers to get the full size processed image. Surely there must be something out there.

top 11 comments
sorted by: hot top controversial new old
[–] [email protected] 25 points 3 months ago* (last edited 3 months ago) (2 children)

I've used this extension for krita, which lets you select part of the image and have an AI draw in your selection based on a prompt. It can work for outpainting, and inpainting, like removing a feature from an image (or adding one). You may have to do some prompt engineering to get the right outcome: https://github.com/Acly/krita-ai-diffusion?tab=readme-ov-file

[–] [email protected] 9 points 3 months ago

It uses comfyui as the backend which can be used to make more complex things.

But using it with Krita is really great and easy enough for kids to use.

[–] [email protected] 4 points 3 months ago

I second this, I use it myself and it's pretty good even with my old GTX 1660 ti GPU

[–] [email protected] 7 points 3 months ago

Upscayl is for specifically AI upscaling: https://upscayl.org/download Its a handy tool to have nearby depending on the type of image work you're doing.

[–] [email protected] 3 points 3 months ago
[–] [email protected] 3 points 3 months ago* (last edited 3 months ago)
  • ChaiNNer: is very flexible and can do all of that. Node based.
  • Upscayl: do only upscales with less models, but has simpler UI, very fast in AMD GPU (because NCNN).

  • I haven't tried automatic1111 or ComfyUI yet.
  • All of them work offline withou limits and are more flexible than online alternatives.

GIMP has:

[–] [email protected] 2 points 3 months ago (1 children)

Remove.bg is fantastic for fast, easy background removal right from your browser! It even lets you replace the background with colors, patterns, or pictures.

[–] [email protected] 2 points 3 months ago (1 children)

Have you looked at the community you are referring to? Ain't FOSS. Instead, I would suggest https://removerized.tech/ (Locally in your browser AND hostable, under GPL-3) https://github.com/yossTheDev/removerized Or rembg https://github.com/danielgatis/rembg

[–] [email protected] 2 points 3 months ago

Ugh! I'm so sorry, I just saw the question show up in my feed and I got excited when I had an idea. I've got to do better job filtering out communities I don't mean to be in, or alternatively, find out if Sync for Lemmy can ONLY show my subscribed communities

[–] [email protected] 1 points 3 months ago

For general use AI image manipulation, you may want to look into Stable Diffusion.

[–] [email protected] 1 points 3 months ago

You can find a lot of stuff over at hugging face - open source stuff as well. This for example for background removal.