cyrildiagne / basnet-http

HTTP service wrapper for BASNet: Boundary-Aware Salient Object Detection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get black-white image

KamMif opened this issue · comments

commented

I run the project on my local machine and after processing image6 get black white img
Whats I do wrong?
Sample:
unnamed

Result:

result

I newbie in ML and in its library sorry if my question is dummy^ thanks

Hi!

Tha looks like the expected result. This service only returns the black and white mask.
You must then apply this mask to the alpha channel of your image. For instance using PIL.Image.composite