geekyutao / Inpaint-Anything

Inpaint anything using Segment Anything and inpainting models.
Apache License 2.0
5.93k stars 498 forks source link

help: how to erase the shadow generated by Inpainting? #42

Open distort5871 opened 1 year ago

distort5871 commented 1 year ago

desc

i have an tourist img, i use the Inpaint-Anything to remove one tourister, it can remove well, but leaving with shadow, could you please tell me how to erase the shadow, so it looks like the lady take a picture by herself?

raw image

图片名称

inpainting image

图片名称

The pictures are all from the Internet If there is infringement, please contact to delete Thank you

geekyutao commented 1 year ago

Hi, I think it's difficult to remove the remaining shadows. This may be out of scope of inpainting. However, we will consider to add a shadow removal feature. Keep following our repo.

geekyutao commented 1 year ago

@distort5871 Another way is to go on clicking the shadow, and Remove Anything will remove the shadow. But this gonna be a little bit tricky.

distort5871 commented 1 year ago

@distort5871 Another way is to go on clicking the shadow, and Remove Anything will remove the shadow. But this gonna be a little bit tricky.

Thanks for your advice, I will try it.

niko2020 commented 4 months ago

@distort5871 Another way is to go on clicking the shadow, and Remove Anything will remove the shadow. But this gonna be a little bit tricky.

Thanks for your advice, I will try it.

have you found a way to solve this?