Skip to content

Generative AI based image editing/inpainting made super easy to work with.

Notifications You must be signed in to change notification settings

pooya-mohammadi/easy_image_inpainting

Repository files navigation

Easy Image Inpainting

In this repository, we provide a simple interface for editing images using the Generative AI(Grounding Dino & Glide-Diffusion). Try it in Colab:

Open In Colab


We have several sections for an image to be modified:

Object Selection:

In this section, we choose the object we want to edit. To do this we use Grounding Dino model. A sample:
Input Image:

Text for object selection: Hen
Output Image:

TODO List:

  • Add Grounding Dino model

Image Inpainting:

In this section, we replace the selected objects with generated images. A sample:

Text for object generation: Dead leaves

As you can see, the hen is replaced with dead leaves.

Output Image:

TODO List:

  • Add GLIDE model

References:

  1. https://github.com/IDEA-Research/GroundingDINO
  2. https://github.com/openai/glide-text2im
  3. https://github.com/pooya-mohammadi/deep_utils

Releases

No releases published

Packages

No packages published