derekray311511 / SAM-webui

Apache License 2.0
60 stars 7 forks source link

[feat] add dilation to mask #5

Open Nomination-NRB opened 1 year ago

Nomination-NRB commented 1 year ago

Thank you so much for your awesome project!!

I made new additions according to my needs(Still retain origin functions):

  1. Add mask_kernel in getting mask (The default value is 0, and expansion is not performed)
  2. Add White Masks (Using the white mask in stable diffusion inpainting)

LL8N%(K(8BN ZW{A}MR)4Z8