!After Detailer is a extension for stable diffusion webui, similar to Detection Detailer, except it uses ultralytics instead of the mmdet.
Install
(from Mikubill/sd-webui-controlnet)
Open "Extensions" tab.
Open "Install from URL" tab in the tab.
Enter https://github.com/Bing-su/adetailer.git to "URL for extension's git repository".
Press "Install" button.
Wait 5 seconds, and you will see the message "Installed into stable-diffusion-webui\extensions\adetailer. Use Installed tab to restart".
Go to "Installed" tab, click "Check for updates", and then click "Apply and restart UI". (The next time you can also use this method to update extensions.)
Completely restart A1111 webui including your terminal. (If you do not know what is a "terminal", you can reboot your computer: turn your computer off and turn it on again.)
You can now install it directly from the Extensions tab.
image
You DON'T need to download any model from huggingface.
Options
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.
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.
If you want to exclude objects in the background, try setting the min ratio to around 0.01.