Remove Background From Image

Not a super important thing, but if Kinopio had a built in background remover for images, it could be super useful for moodboards. Apple has this built into Photos now so it’s not high priority since it’s pretty easy to do, but I think it could go a long way with certain audiences.

Example:

best case scenario scope:

  1. function needs a place in the ui
  2. send the image to openai or some other service to process the img
  3. receive the new file and upload it , replacing the original file / url
2 Likes

Yeah definitely more effort and complication than benefit.

I did find this though: GitHub - imgly/background-removal-js: Remove backgrounds from images directly in the browser environment with ease and no additional costs or privacy concerns. Explore an interactive demo.

1 Like

So funny, I was just thinking about this this week. The same thought went through my mind about iOS already supporting this natively. It would be fun to be able to easily create “stickers “ in kinopio. Agree it might not be a worth the cost right now.

2 Likes

Exactly. I was showing my wife some collages I made for some marketing stuff and she immediately started showing me all of these instagram moodboards that use the sticker-type cutout images.

And it’s all doable natively on apple products whether it’s press and hold on the subject in Photos on iPad and dragging to Kinopio or right clicking an image in Photos on Mac to copy subject. But it’s adds a lot of steps and complication for certain types of users.

It may be bloat and overcomplicating Kinopio, but I could see a world where there’s light ~aesthetic~ photo editing: the dithering Tony shared, removing background, etc. to help people add personality to their spaces.

4 Likes

plz let me know if you find more libs, it’s unclear but this one only looks like it works with the img.ly service

This service was mentioned in discord but feels a bit pricey…

this reminds me of this figma plugin that downloads a model to your computer and runs the bg removal there https://www.figma.com/community/plugin/1278756064864777232/remove-background-privacy-first definitely not a great solution since it would be impossible to use on mobile and low end pcs, but maybe better than relying on a cloud service with their own steep prices.

lol a dollar an image, what fantasy world are they living in?

i’m fine with doing it on the server myself, ideally there’s some lib that makes this not a huge project

a reasonably priced service is also totally fine

do all approaches for this require an LLM? If so, then I think just waiting a year for the price to hit the floor is also a viable approach

Wow those prices are crazy, you can use a hosted open source model on replicate which is much cheaper. Might be a bit more latency if you hit a cold start, but in general replicate is decent and easy, here’s an example model pollinations/modnet – Run with an API on Replicate

These background removal models are all old lightweight models (relatively) I can also dig out ones to recommend that might work on a sever cpu if you’re wanted to run it yourself, probably even acceptable ones that work in JavaScript ( but they will probably still be quite cpu intensive and a decent number of mb download)

4 Likes

That replicant model service looks promising