An open API service indexing awesome lists of open source software.

https://github.com/pooya-mohammadi/easy_image_inpainting

Generative AI based image editing/inpainting made super easy to work with.
https://github.com/pooya-mohammadi/easy_image_inpainting

deep-utils diffusion-models generative-ai glide grounding-dino image-editing image-inpainting pytorch

Last synced: 11 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/pooya-mohammadi/easy_image_editing/blob/main/easy_image_editing_grounding_dino_glide.ipynb)

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:

- [x] 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:

- [x] 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