@@ -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]}
|
||||
|
||||
Reference in New Issue
Block a user