From 0f18a6aa6250aa346bde11cbde32aa17bf058791 Mon Sep 17 00:00:00 2001 From: zhouchengrong Date: Fri, 7 Feb 2025 16:01:49 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"feat=EF=BC=88=E6=96=B0=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=EF=BC=89:"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit dd9f091a1c7403c8ca8187d8b7bb683fe8482cea. --- app/service/design_fast/pipeline/print_painting.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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]}