From 027a085bf11f3dbdaa45eb70b08b953cdffb9283 Mon Sep 17 00:00:00 2001 From: banqingyuan <15606160125@163.com> Date: Sun, 22 Sep 2024 16:44:53 +0800 Subject: [PATCH] =?UTF-8?q?tensor=20=E8=B6=85=E9=95=BFMaximum=20supported?= =?UTF-8?q?=20image=20dimension=20is=2065500=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nodes/ocr_loc_node.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nodes/ocr_loc_node.py b/nodes/ocr_loc_node.py index 444db74..26fb09c 100644 --- a/nodes/ocr_loc_node.py +++ b/nodes/ocr_loc_node.py @@ -45,6 +45,7 @@ class OCRLocNode: loc = word["location"] rectangles.append([loc['left'], loc['top'], loc['width'], loc['height']]) + print(f"Image shape: {image_np.shape}") # 倄理图像 processed_image = process_image_with_rectangles(image_np, rectangles)