Views
No views yet
https://github.com/Bing-su/adetailer.git to "URL for extension's git repository".
| 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. |
0.01.| Mask Preprocessing | ||
|---|---|---|
| Mask x, y offset | Moves the mask horizontally and vertically by | |
| Mask erosion (-) / dilation (+) | Enlarge or reduce the detected mask. | opencv example |
| Mask merge mode | None: Inpaint each maskMerge: Merge all masks and inpaintMerge and Invert: Merge all masks and Invert, then inpaint |
inpaint, scribble, lineart, openpose, tile controlnet models. Once you choose a model, the preprocessor is set automatically. It works separately from the model set by the Controlnet extension.ui-config.json entries: wiki/ui-config.json[SEP], [SKIP] tokens: wiki/Advanced| Model | Target | mAP 50 | mAP 50-95 |
|---|---|---|---|
| face_yolov8n.pt | 2D / realistic face | 0.660 | 0.366 |
| face_yolov8s.pt | 2D / realistic face | 0.713 | 0.404 |
| hand_yolov8n.pt | 2D / realistic hand | 0.767 | 0.505 |
| person_yolov8n-seg.pt | 2D / realistic person | 0.782 (bbox) 0.761 (mask) | 0.555 (bbox) 0.460 (mask) |
| person_yolov8s-seg.pt | 2D / realistic person | 0.824 (bbox) 0.809 (mask) | 0.605 (bbox) 0.508 (mask) |
| mediapipe_face_full | realistic face | - | - |
| mediapipe_face_short | realistic face | - | - |
| mediapipe_face_mesh | realistic face | - | - |
webui/models/adetailer. The model name should end with .pt or .pth.
