Wulingtian / Inpaint-Anything

Inpaint anything using SAM + inpainting models.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inpaint-Anything

Segment Anything Meets Image Inpainting

Inpaint Anything Features

  • Remove Anything
  • Fill Anything (coming soon)
  • Replace Anything (coming soon)
  • Demo Website (coming soon)

Remove Anything

Click on an object in the image (2K image supported!), and Inpainting Anything will remove it instantly!

  • Click on an object, Segment Anything Model (SAM) is used to segment the object and obtain an object mask.
  • With the mask, inpainting models (e.g., LaMa) fill the "hole".

Acknowledgments

  • SAM from Meta AI
  • Inpainting models are from LaMa

About

Inpaint anything using SAM + inpainting models.

License:Apache License 2.0


Languages

Language:Jupyter Notebook 94.2%Language:Python 5.7%Language:Shell 0.1%Language:Dockerfile 0.0%