diff --git a/README.md b/README.md index 2067367..177293e 100644 --- a/README.md +++ b/README.md @@ -34,12 +34,13 @@ https://user-images.githubusercontent.com/3998421/196976498-ba1ad3ab-fa18-4c55-9 - Classical image inpainting algorithm powered by [cv2](https://docs.opencv.org/3.4/df/d3d/tutorial_py_inpainting.html) - Multiple SOTA AI models 1. [LaMa](https://github.com/saic-mdal/lama) - 1. [LDM](https://github.com/CompVis/latent-diffusion) - 1. [ZITS](https://github.com/DQiaole/ZITS_inpainting) - 1. [MAT](https://github.com/fenglinglwb/MAT) - 1. [FcF](https://github.com/SHI-Labs/FcF-Inpainting) - 1. [SD1.5](https://github.com/runwayml/stable-diffusion) - 1. [Manga](https://github.com/msxie92/MangaInpainting) + 2. [LDM](https://github.com/CompVis/latent-diffusion) + 3. [ZITS](https://github.com/DQiaole/ZITS_inpainting) + 4. [MAT](https://github.com/fenglinglwb/MAT) + 5. [FcF](https://github.com/SHI-Labs/FcF-Inpainting) + 6. [SD1.5/SD2](https://github.com/runwayml/stable-diffusion) + 7. [Manga](https://github.com/msxie92/MangaInpainting) + 8. [Paint by Example](https://github.com/Fantasy-Studio/Paint-by-Example) - Support CPU & GPU - Various inpainting [strategy](#inpainting-strategy) - Run as a desktop APP @@ -72,10 +73,19 @@ https://user-images.githubusercontent.com/3998421/196976498-ba1ad3ab-fa18-4c55-9
3. Replace something on the image +SD1.5/SD2 + | Usage | Before | After | | ---------------------- | ------------------------ | -------------------------------------------------------------- | | Text Driven Inpainting | ![dog](./assets/dog.jpg) | Prompt: a fox sitting on a bench
![fox](./assets/fox.jpg) | + +Paint by Example + +| Original Image | Example Image | Result Image | +|----|------|-------| +||[](https://youtu.be/NSAN3TzfhaI)|[](https://youtu.be/NSAN3TzfhaI)| +
## Quick Start @@ -102,7 +112,7 @@ Available command line arguments: | Name | Description | Default | | -------------------- |---------------------------------------------------------------------------------------------------------------------| -------- | -| --model | lama/ldm/zits/mat/fcf/sd1.5/manga/sd2 See details in [Inpaint Model](#inpainting-model) | lama | +| --model | lama/ldm/zits/mat/fcf/sd1.5/manga/sd2/paint_by_example See details in [Inpaint Model](#inpainting-model) | lama | | --hf_access_token | stable-diffusion need [huggingface access token](https://huggingface.co/docs/hub/security-tokens) to download model | | | --sd-run-local | Once the model as downloaded, you can pass this arg and remove `--hf_access_token` | | | --sd-disable-nsfw | Disable stable-diffusion NSFW checker. | |