Installation
- install pytorch
- install python
- install node js
- install rembg
- npm i @chicken.alesha/rembg-nodejs
how to use ?
const {folder, file} = require('@chicken.alesha/rembg-nodejs');
async function run () {
await file('./output','./input.jpeg', (res) => console.log(res));
}
run();