Skip to content
This repository was archived by the owner on Nov 27, 2024. It is now read-only.

Commit a3cc32a

Browse files
committed
Inpaint README
1 parent 5c77267 commit a3cc32a

File tree

5 files changed

+16
-0
lines changed

5 files changed

+16
-0
lines changed

Assets/Samples/Inpaint-Mask.png

11.1 KB
Loading
632 KB
Loading

Assets/Samples/Inpaint-Original.png

496 KB
Loading

Assets/Samples/Inpaint-Result.png

473 KB
Loading

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,22 @@ Image To Image Stable Diffusion is an advanced image processing and generation m
6969
Prompt: Dog wearing storm trooper helmet, head shot
7070
```
7171

72+
### **Image Inpainting**
73+
Image inpainting is an image modification/restoration technique that intelligently fills in missing or damaged portions of an image while maintaining visual consistency. It's used for tasks like photo restoration and object removal, creating seamless and convincing results.
74+
75+
In the below example we use a simple mask image + prompt to add a rider to the horse
76+
The black part of the mask will be used buy the process to generate new content, in this case the rider
77+
78+
| Input Image | Mask Image | Masked Image | Result
79+
| :--- | :--- | :--- | :--- |
80+
<img src="Assets/Samples/Inpaint-Original.png" width="256" alt="Image of browser inferencing on sample images."/> | <img src="Assets/Samples/Inpaint-Mask.png" width="256" alt="Image of browser inferencing on sample images."/> |<img src="Assets/Samples/Inpaint-MaskedImage.PNG" width="256" alt="Image of browser inferencing on sample images."/> |<img src="Assets/Samples/Inpaint-Result.png" width="256" alt="Image of browser inferencing on sample images."/> |
81+
82+
```
83+
Prompt: Rider on horse
84+
```
85+
86+
87+
7288
More information and Examples can be found in the `OnnxStack.StableDiffusion` project **[README](OnnxStack.StableDiffusion/README.md)**
7389

7490
__________________________

0 commit comments

Comments
 (0)