Grounded-Segment-Anything icon indicating copy to clipboard operation
Grounded-Segment-Anything copied to clipboard

How to remove object in a picture with Grounded-SAM with Inpainting?

Open linuaries opened this issue 1 year ago • 1 comments

I tried by leave prompt as empty string, but Stable Diffusion put random object instead.

linuaries avatar Feb 20 '24 04:02 linuaries

I tried by leave prompt as empty string, but Stable Diffusion put random object instead.

You can try to use LAMA algorithms to remove the object:

  • https://github.com/advimman/lama

And inpaint-anything may also be helpful to you: https://github.com/geekyutao/Inpaint-Anything

rentainhe avatar Feb 20 '24 09:02 rentainhe