From 4071455aab8d60605bbccf4c6a8a03732f98b79f Mon Sep 17 00:00:00 2001 From: liuyebo <1515783401@qq.com> Date: Fri, 21 Jun 2024 13:53:03 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- photo_review/photo_review.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/photo_review/photo_review.py b/photo_review/photo_review.py index afbf6d3..18bf5f4 100644 --- a/photo_review/photo_review.py +++ b/photo_review/photo_review.py @@ -54,9 +54,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] # 计算宽高比