diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d02b65..7936be0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +### 2023-05-19 + +- v23.5.16 +- 추가한 옵션 + - Mask min/max ratio + - Mask merge mode + - Restore faces after ADetailer +- 옵션들을 Accordion으로 묶음 + ### 2023-05-18 - v23.5.15 diff --git a/README.md b/README.md index bc9e09b..1fcf01b 100644 --- a/README.md +++ b/README.md @@ -20,25 +20,31 @@ You can now install it directly from the Extensions tab. You **DON'T** need to download any model from huggingface. -## Usage +## Options -It's auto detecting, masking, and inpainting tool. +| Model, Prompts | | | +| --------------------------------- | ------------------------------------- | ------------------------------------------------- | +| ADetailer model | Determine what to detect. | `None` = disable | +| ADetailer prompt, negative prompt | Prompts and negative prompts to apply | If left blank, it will use the same as the input. | -So some options correspond to options on the inpaint tab. +| Detection | | | +| ------------------------------------ | -------------------------------------------------------------------------------------------- | --- | +| Detection model confidence threshold | Only objects with a detection model confidence above this threshold are used for inpainting. | | +| Mask min/max ratio | Only use masks whose area is between those ratios for the area of the entire image. | | -![image](https://i.imgur.com/Bm7YLEA.png) +If you want to exclude objects in the background, try setting the min ratio to around `0.01`. -Other options: +| Mask Preprocessing | | | +| ------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | +| Mask x, y offset | Moves the mask horizontally and vertically by | | +| Mask erosion (-) / dilation (+) | Enlarge or reduce the detected mask. | [opencv example](https://docs.opencv.org/4.7.0/db/df6/tutorial_erosion_dilatation.html) | +| Mask merge mode | `None`: Inpaint each mask
`Merge`: Merge all masks and inpaint
`Merge and Invert`: Merge all masks and Invert, then inpaint | | -| Option | | | -| -------------------------------------- | -------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | -| ADetailer model | Determine what to detect. | `None` = disable | -| ADetailer prompt, negative prompt | Prompts and negative prompts to apply | If left blank, it will use the same as the input. | -| Detection model confidence threshold % | Only objects with a detection model confidence above this threshold are used for inpainting. | | -| Mask erosion (-) / dilation (+) | Enlarge or reduce the detected mask. | [opencv example](https://docs.opencv.org/4.7.0/db/df6/tutorial_erosion_dilatation.html) | -| Mask x, y offset | Moves the mask horizontally and vertically by pixels. | | | +#### Inpainting -See the [wiki](https://github.com/Bing-su/adetailer/wiki) for more options and other features. +![image](https://i.imgur.com/KbAeWar.png) + +Each option corresponds to a corresponding option on the inpaint tab. ## ControlNet Inpainting