IOPaint icon indicating copy to clipboard operation
IOPaint copied to clipboard

[Feature Request] Where is the eraser?

Open ZzzzzzzSkyward opened this issue 1 year ago • 3 comments

Seems I can't see an eraser tool as against the pen. I want to be able to remove a narrow line or something in an area like I can do in other paint softwares. How can I achieve it?

ZzzzzzzSkyward avatar Feb 20 '24 10:02 ZzzzzzzSkyward

You can switch to the lama model for object erase

iopaint start --model lama

Sanster avatar Feb 20 '24 12:02 Sanster

You can switch to the lama model for object erase

iopaint start --model lama

I mean the eraser tool for painting areas, not inpainting. Besides why you recommend lama? I don't understand because all the inpainting models are available for inpainting.

ZzzzzzzSkyward avatar Feb 22 '24 02:02 ZzzzzzzSkyward

  • I understand, there is currently no eraser for painting mask area. You can only click on the "clean" button on the right side to paint again. Perhaps I could add this feature later on.
  • Using the SD model to remove objects can potentially generate new objects(I'm curious, do you encounter this situation often?). The lama model is specially designed to erase objects, is faster, and requires fewer resources. Although its generation capability is indeed not as good as the inpainting model based on stable diffusion.

Sanster avatar Feb 22 '24 03:02 Sanster