Settings

Theme

Show HN: Open-source background removal in Node.js

npmjs.com

94 points by buss_jan 2 years ago · 9 comments · 1 min read

Reader

IMG.LY's popular background removal js library is now available for NodeJS.

thangngoc89 2 years ago

This was discussed on HN several months ago https://news.ycombinator.com/item?id=36505859

diggan 2 years ago

I thought at first the library would just call out to some web API to do the actual magic, but seems it's actually running the model locally, which is very nice to see.

So it seems there is a bundled models (bundle/models/{small,medium,large}) but I don't see the code responsible for creating those. Anyone knows where the source is located? It's the final piece of the puzzle to figure out if this thing is FOSS or not.

  • icyfox 2 years ago

    Last time I looked into this their training code is kept internal and they're just releasing the model weights.

    • diggan 2 years ago

      Hmm, I see. That makes the "Open-Source" in the title a bit hard to understand. It is just the library that sits between the developer and the usage of the model that is open source, rather than that the "background removal" part.

teaearlgraycold 2 years ago

How good is the model? I would have expected some kind of hint from the user to help it know what the background is. Something like a selection of where the subject is or what the subject is, at least as an optional fallback.

triyambakam 2 years ago

What is the underlying model used?

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection