Lurker News
@imgly/background-removal is a powerful javascript library that allows seamlessly background removal of images directly in the browser. With its unique features and capabilities, this package offers an innovative and cost-effective solution for background removal tasks without compromising data privacy.

Comments (38) 16 threads

Earlier comments
ibrarmalik#
Where does the model come from? Hard to trust the license when we have no idea with what data it has been trained.
mbappe123#
Nice one, Remove.bg does the job little better over hairs.
iamflimflam12 replies#
What are the licensing options? Can I use the npm package in a commercial project?
dec0dedab0de1 reply#
It says it's GPL. So yes you can use it in a commercial project as long as it is also GPL. Also, any license that restricts commercial use is neither Open Source as defined by the OSI, nor is it Free Software as defined by the FSF.
pcthrowaway1 reply#
IANAL, but I think it'd be OK to use it as long as you're not transpiling/minifying/bundling it in with your code[1].

Since it's Typescript, you obviously need to transpile to Javascript and host it somewhere you control for security (your own server is fine, just make sure the GPL license text is embedded). This is your GPL-respecting distribution of the software
Then in your webpage's index.html or other markup, include a `

dec0dedab0de#
I believe those links are talking about exceptions, and the LGPL.

Any exception would have to be granted by the copyright holder, and the LGPL is a different license which is designed for allowing libraries to be linked into non GPL code.

buss_jan#
The project is GPL licensed, if, however, you cannot use GPL licensed software do get in touch with support@img.ly and we'll make the package available to you under a different license.
jjohansson#
Amazing tech, congratulations!

Load more comments