xuebinqin / U-2-Net

The code for our newly accepted paper in Pattern Recognition 2020: "U^2-Net: Going Deeper with Nested U-Structure for Salient Object Detection."
Apache License 2.0
8.31k stars 1.43k forks source link

Background Removal Webapp: Edge Quality #247

Open ashikrafi opened 2 years ago

ashikrafi commented 2 years ago

Hi Great job indeed.

Anyway, when I upload images to your webapp, I find that it creates good edge quality. However, using your github code, when I create an image mask and composite it with the original image, the quality of the edges is not good. What's the issue? Where can I find the codes that you have written for Webapp?

Thank you

xuebinqin commented 2 years ago

Hi, Md,

Thanks for your interest. We didn't implement any official webapp for the background removal. Currently the webapps for background removal are developed by other developers based on our released u2net model. We only provide one webapp for portrait generation (http://profu.ai/ the model is refined based on our released one on github). If you want to further refine the boundary of the background removal model, usually you have two main options add another matting process after the prediction like https://pypi.org/project/rembg/ which uses our released u2net with pymatting (https://github.com/pymatting/pymatting) post-processing.

Best wishes,

On Wed, Aug 25, 2021 at 1:20 AM Md Ashikur Rahman @.***> wrote:

Hi Great job indeed.

Anyway, when I upload images to your webapp, I find that it creates good edge quality. However, using your github code, when I create an image mask and composite it with the original image, the quality of the edges is not good. What's the issue? Where can I find the codes that you have written for Webapp?

Thank you

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/xuebinqin/U-2-Net/issues/247, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADSGORNFHQEQLKUEONY4VETT6QEKZANCNFSM5CXVXNJQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

-- Xuebin Qin PhD Department of Computing Science University of Alberta, Edmonton, AB, Canada Homepage:https://webdocs.cs.ualberta.ca/~xuebin/

ashikrafi commented 2 years ago

Thank you.