cn always generate blended processed image

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2025-07-18 18:19:56 -04:00
parent 1b36607bce
commit e576ea4319
4 changed files with 16 additions and 13 deletions
+2 -1
View File
@@ -94,6 +94,7 @@ def preprocess_image(
# run image processors
processed_images = []
blended_image = None
for i, process in enumerate(active_process): # list[image]
debug_log(f'Control: i={i+1} process="{process.processor_id}" input={masked_image} override={process.override}')
processed_image = process(
@@ -244,4 +245,4 @@ def preprocess_image(
t1 = time.time()
process_timer.add('proc', t1-t0)
return processed_image
return processed_image, blended_image