diff --git a/app/service/design_fast/pipeline/print_painting.py b/app/service/design_fast/pipeline/print_painting.py index 417572f..7120e69 100644 --- a/app/service/design_fast/pipeline/print_painting.py +++ b/app/service/design_fast/pipeline/print_painting.py @@ -28,10 +28,12 @@ class PrintPainting: new_height = int(height * result['resize_scale'][1]) result['pattern_image'] = cv2.resize(result['pattern_image'], (new_width, new_height)) - result['final_image'] = cv2.resize(result['final_image'], (new_width, new_height)) result['mask'] = cv2.resize(result['mask'], (new_width, new_height)) result['gray'] = cv2.resize(result['gray'], (new_width, new_height)) + + + print(1) if overall_print['print_path_list']: painting_dict = {'dim_image_h': result['pattern_image'].shape[0], 'dim_image_w': result['pattern_image'].shape[1]}