Compare commits
3 Commits
ddef6af1cf
...
d5452098f3
| Author | SHA1 | Date | |
|---|---|---|---|
| d5452098f3 | |||
| 315e298ba8 | |||
| ec26c8b507 |
@@ -169,7 +169,7 @@ class NoSegPrintPainting:
|
||||
canvas_h=painting_dict['dim_image_h'],
|
||||
canvas_w=painting_dict['dim_image_w'],
|
||||
location=painting_dict['location'],
|
||||
angle=45)
|
||||
angle=int(print_.get('print_angle_list', [0])[0]))
|
||||
painting_dict['mask_inv_print'] = np.zeros(painting_dict['tile_print'].shape[:2], dtype=np.uint8)
|
||||
return painting_dict
|
||||
|
||||
|
||||
@@ -232,7 +232,7 @@ class PrintPainting:
|
||||
canvas_h=painting_dict['dim_image_h'],
|
||||
canvas_w=painting_dict['dim_image_w'],
|
||||
location=painting_dict['location'],
|
||||
angle=45)
|
||||
angle=int(print_.get('print_angle_list', [0])[0]))
|
||||
painting_dict['mask_inv_print'] = np.zeros(painting_dict['tile_print'].shape[:2], dtype=np.uint8)
|
||||
return painting_dict
|
||||
|
||||
|
||||
@@ -367,7 +367,6 @@ def transpose_rotate(layer, image):
|
||||
# ------------------- 核心修改:计算实际旋转角度 -------------------
|
||||
# 结合镜像状态,计算需要实际执行的旋转角度
|
||||
actual_rotate = calculate_actual_rotate(original_rotate, is_mirrored_x, is_mirrored_y)
|
||||
print(f"actual_rotate:{actual_rotate}")
|
||||
# ------------------- 执行镜像变换 -------------------
|
||||
# 左右镜像(transpose[0] != 1 即-1,表示镜像)
|
||||
if is_mirrored_x != 1:
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
services:
|
||||
aida_server:
|
||||
container_name: "AiDA_${SERVE_ENV}_Server"
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
|
||||
Reference in New Issue
Block a user