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.
- Host: GitHub
- URL: https://github.com/pooya-mohammadi/easy_image_inpainting
- Owner: pooya-mohammadi
- Created: 2023-05-27T12:01:49.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-05T09:40:59.000Z (over 1 year ago)
- Last Synced: 2023-11-05T09:25:41.857Z (over 1 year ago)
- Topics: deep-utils, diffusion-models, generative-ai, glide, grounding-dino, image-editing, image-inpainting, pytorch
- Language: Jupyter Notebook
- Homepage:
- Size: 8.24 MB
- Stars: 14
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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:
[](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