Open-source background removal in Node.js

Background Removal in NodeJs: Remove backgrounds from images in NodeJs environment effortlessly and without any extra costs or privacy concerns. Try out our interactive demo to experience it firsthand.

News September 12th, 2023: We have released the code of Background Removal NodeJS.

Overview: @imgly/background-removal-node-node is a powerful npm package that allows developers to easily remove the background from images in NodeJs. It offers unique features and capabilities, providing a cost-effective solution for background removal tasks while ensuring data privacy.

Key Features: This package seamlessly integrates with IMG.LY’s CE.SDK, allowing developers to incorporate powerful NodeJS image matting and background removal capabilities into their projects. The Neural Network (ONNX model) is hosted on UNPKG, making it easily accessible for download. You can also host the data on your own servers.

Installation: Install @imgly/background-removal-node using npm or yarn with the provided commands.

Usage: Import the package and use the `removeBackground` function to remove the background from an image. The result is a blob encoded as PNG, which can be converted to an URL for further use.

Advanced Configuration: While the library does not require any initial configuration, there are optional parameters available

https://www.npmjs.com/package/@imgly/background-removal-node

To top