As a thought, did you upscale the people before running AI on them? AI does not do well where faces and people are small in the image, and ensuring what you pass to it is at least 512 or 1024 (assuming SD vs SDXL) will help. That being for each extracted person. So basically, extract people separately, upscale them, run AI to improve them, downscale and paste back into original image?