r/coolgithubprojects • • 5d ago

I built a free, open-source AI background remover that works entirely offline (v2.2.0)

Hey everyone!

I've been developing CutOut, a free and open-source desktop application that uses AI to remove image backgrounds locally.

I wanted to build an alternative to online background removers without subscriptions, upload restrictions, accounts, watermarks or resolution limits.

Here's what CutOut offers:

βœ‚οΈ AI Background Removal

  • Four built-in AI models: Fast, Balanced, Best and Best+

  • Support for custom ONNX models

  • Batch processing for multiple images and folders

  • Original-resolution exports

🎨 Background & Image Editing

  • Solid colors and gradient backgrounds

  • Custom image backgrounds

  • Blurred-photo backgrounds

  • Sticker outlines and drop shadows

  • Brightness, contrast and saturation controls

  • Manual touch-up brush

  • Edge refinement and color defringe

  • Subject positioning and canvas controls

βš™οΈ Additional Features

  • Before/after comparison

  • Undo and redo

  • Saved presets

  • Customizable themes

  • Up to 1600% zoom

  • PNG, JPG and WebP exports

πŸ”’ Privacy & Pricing

  • Everything is processed locally on your computer

  • No image uploads

  • No accounts

  • No subscriptions

  • No advertisements

  • No watermarks

  • No export resolution restrictions

πŸ’» Available Platforms

  • Windows

  • Linux

  • macOS (Apple Silicon)

CutOut is MIT-licensed and completely free. I intend to keep it that way.

This is an independently developed project, and I'm constantly working on improving its performance, features and compatibility.

I'd genuinely appreciate feedback, suggestions, and bug reports!

🌐 Website: https://getcutout.pages.dev/

πŸ’» GitHub: https://github.com/gserect-gif/cutout-app

128 Upvotes

35 comments sorted by

5

u/ifyouneedafix 4d ago

Could this be used as a plugin for e.g. PhotoCraft?

2

u/Only_Spite7811 4d ago

CutOut is staying a standalone app, no plans for a PhotoCraft plugin

3

u/jdehesa 4d ago

Great! It's probably a fair bit of work, but it would be awesome to have an Android version too.

5

u/Only_Spite7811 4d ago

Ding, ding, ding! Probably on 2.5.0, because i have big ideas for 2.5.0

2

u/strawwbebbu 4d ago

Amazing, thank you! When I saw remove.bg got bought by Canva I was like whelp...

3

u/Only_Spite7811 4d ago

Same, I used remove.bg all the time and it didnt give me the full resolution everytime. So glad you enjoyed the app

2

u/Only_Spite7811 4d ago

P.s, i miss the point and yes i was disappointed when it was going to get merged into canva thats probably the main reason why i made the app

2

u/H_GG 4d ago

I wrote for a portable version on the repo.

2

u/Only_Spite7811 4d ago

Like a zip cutout.exe?

1

u/H_GG 4d ago

yes, no installer. A standalone app, that leaves every files related inside the same folder where the exe is

1

u/Only_Spite7811 3d ago

Might think about it

1

u/hydrate31 4d ago

Ironically the thing I will likely use this for most is removing the backgrounds on the images AI generates for me because AI cannot understand the term 'transparent background'

1

u/Only_Spite7811 4d ago

Still, your using it

1

u/hydrate31 4d ago

Oh yeah, awesome project, I just love the irony of it.

1

u/EconomySerious 4d ago

You use allready know models? Or you developed your own?

1

u/Only_Spite7811 4d ago

I got the built in models from github. And you can import your own, find models in github and if you need assistance just ask chatgpt

1

u/EconomySerious 4d ago

ind to point where are the models u used?

1

u/vmcrash 4d ago

So it runs its own model? That sounds interesting. Which one do you use? How fast does it work on a normal desktop machine without GPU, let's say, 32GB RAM, 6 cores, for a 4k image?

2

u/Only_Spite7811 4d ago

Yep! CutOut uses ONNX Runtime to run AI models locally on your computer. It doesn't use a cloud API or upload your images anywhere.

There are currently four built-in models:

  • Fast: UΒ²-Net-P

  • Balanced: IS-Net General Use

  • Best: BiRefNet Lite

  • Best+: Full BiRefNet (FP16)

As for performance, a 4K image doesn't mean the AI model processes all 4K pixels directly. The models use their own input resolutions (320Γ—320 or 1024Γ—1024), and the resulting mask is scaled back to the original image dimensions. Your exported image still retains its original resolution. A 6-core CPU with 32GB RAM should be a reasonable system to try it on, but I haven't benchmarked that exact hardware configuration, so I don't want to give you an inaccurate processing time. The main difference is that Fast and Balanced prioritize speed, while Best and Best+ prioritize finer details at the cost of processing time. Everything runs locally, and you don't need a dedicated GPU!

1

u/vadrer 4d ago

Cool!
It would be nice to have a portable version for windows.

2

u/Only_Spite7811 3d ago

Might be v2.4.0 it comes out or it might be v2.5.0πŸ‘€

1

u/neoblitz 3d ago

This one is low-key flying under the radar. Good job.

2

u/Only_Spite7811 3d ago

I been under the radar for a while now, super grateful i got 110 stars and viewed!

2

u/Only_Spite7811 3d ago

P.s, i plan to update the app more and optimize it more without making anyone pay (unless they are donating)

2

u/neoblitz 3d ago

I started a newsletter about great github picks. And I’m including this one. Ps: I was pissed when remove.bg was out (even tho they didn’t provide full resolution)

2

u/Only_Spite7811 3d ago

Your making me so happy bro, i cant believe this

1

u/neoblitz 3d ago

It’s a small thing. I will write about it on my other blog once I test the appimage. I’m using nixos so I’ll use the appimage.

1

u/Only_Spite7811 3d ago

And uh, im also planning to create my own community since posting on other community just to post my app is like idk i cant describe it

1

u/neoblitz 3d ago

Yea. You should have your own app community or discord. Easier to manage expectations. I just tested appimage. It worked fine and pretty fast even with birefNet+full. But might need to improve if photo have green screen. It is very usable. πŸ‘πŸ½

1

u/hamfrajodel 2d ago

Dude we have had the same idea. I made the exact same thing the last 8 months.

https://prunr.io/ 😁

1

u/Only_Spite7811 2d ago

Thats great bro

2

u/1-800-gunz-for-libz 4d ago

Nice, I'll give it a try!

1

u/aka_s3rious 3d ago

Looks cool, definitely try it.