imgly/background-removal-js

Returned mask is not binary

wonjunior opened this issue · 1 comments

I noticed that the resulting image has partially masked pixels which seems incorrect. Why isn't the mask binary when extracted?
I used the code from the example file node-examples/src/example_001.cjs

IMG20240502144422

It's an alphamask and partially provides values between 0 and 255 in areas which need to blend with the background.