How to prevent adetailer detailing background people's faces?
for example, i have a images shows a female, and there are a lot of in the background, how to prevent adetailer detailing those people's face? it will make picture looks weird. such as the picture below
Increase the detection model confidence threshold to around 80.
related to https://github.com/Bing-su/adetailer/issues/61 and https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/8524 ([Feature Request]: face restoration minimum/maximum face size to process) (please see example screenshots there)
I'm looking to do the same (enhance face in foreground, don't enhance faces in the background) but this time also including codeformer/gfpgan in the process.
is it possible to hook the face restoration process into adetailer?
also - maybe sometimes you'd want to enhance faces in the background with the foreground being blurred, but this could be controlled by a threshold range - with the face sizes used to define the ratio: 100% being the largest face found maybe.
if we then applied a lower and upper threshold e.g. i might want to apply the enhancement between 40% and 70% .. then small faces in the far background (<40%) and large faces in the foreground (>70%) aren't enhanced
thanks J
Not only would it be nice to have the ability for adetailer to stop on the highest confidence face, but also, why does it make all faces look sameish and female?
@danielos123ssa isn't that just down to your prompt used for the inpainting.. plus your denoising strength?
(note, most of what I requested has been addressed .. see #61.. this also specfically closes your issue i think @IQOS.. see my example there https://github.com/Bing-su/adetailer/issues/61#issuecomment-1554568779)
@danielos123ssa isn't that just down to your prompt used for the inpainting.. plus your denoising strength?
(note, most of what I requested has been addressed .. see #61.. this also specfically closes your issue i think @IQOS.. see my example there #61 (comment))
Agreed, I forgot it uses same prompt as generated image if left blank, didn't quite make it to my logic at first.
Hi, when im using Adetailer in Batch process to restore faces in a massive run, im finding some noise/blur arround entire frame, it changes the face but also blurrying everything around (even using inpaint mask folder). Any ideas?