冲突排查

This commit is contained in:
2024-06-21 15:39:42 +08:00
parent 61d7bc1457
commit fc73576b34
2 changed files with 8 additions and 3 deletions

View File

@@ -53,9 +53,9 @@ def open_image(img_path):
# 分割大图片
def split_image(img_path, max_ratio=2.82, best_ration=1.41, overlap=0.05):
split_result = []
pdb.set_trace()
# 打开图片
img = open_image(img_path)
pdb.set_trace()
# 获取图片的宽度和高度
height, width = img.shape[:2]
# 计算宽高比