Open SpenserCai opened 1 year ago
What's the difference?
When not in use, there will be obvious white edges. After use, there will be no white edges (you can clearly see this from the head of the figure in the picture). The role of alpha matting is to add transparent blur as a transition. It has a good optimization effect for very delicate objects such as Tennis racquet , hair.
so in Rembg has alpha matting and stable-diffusion-webui-rembg also implemented it
Expected behavior
Hope to migrate the Alpha Matting from Rembg.
This feature is already well used in stable-diffusion-webui-rembg
Not use Alpha Matting![image](https://github.com/continue-revolution/sd-webui-segment-anything/assets/25168945/e233eea6-03a2-4ca1-bc54-9bc918d4243e)
Use Alpha Matting![image](https://github.com/continue-revolution/sd-webui-segment-anything/assets/25168945/7a9294a5-c635-4d86-b100-bb6d260973b1)