cyrildiagne / basnet-http

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Return image on 256 x 256

robwil1966 opened this issue · comments

Hi,

When testing with the supplied images I can only get a 256 x 256 mask image in the result. How can I get an image with the correct aspect ratio?

Thanks in advance.

Rob
resultgirl

Hi,
That's the expected behavior.
You must resize the mask back to the input image size.

Ah, ok, thanks for finding the time to reply. Great work!

Can you explain this a bit further. If i scale it up the Quality will get worse. Is there a way to increase the Resolution itself ?