Found myself with a need to save both the uddetailer processed image as well as the originally generated image for each generation and realized that there didn't seem to be any way to do this with the current options available. This just adds an option that saves the original image when uddetailer runs on a generated image (when there is at least one detection on a generated image). The option is ignored when running uddetailer inpainting manually on an already pre-existing image.
Found myself with a need to save both the uddetailer processed image as well as the originally generated image for each generation and realized that there didn't seem to be any way to do this with the current options available. This just adds an option that saves the original image when uddetailer runs on a generated image (when there is at least one detection on a generated image). The option is ignored when running uddetailer inpainting manually on an already pre-existing image.