From 63141df88b967a9d731f297ef10e5da3176826fa Mon Sep 17 00:00:00 2001 From: liuyebo <1515783401@qq.com> Date: Wed, 24 Jul 2024 13:04:07 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4ocr=E8=AF=86=E5=88=AB?= =?UTF-8?q?=E7=9A=84=E6=9C=80=E5=A4=A7=E9=95=BF=E5=BA=A6=EF=BC=8C=E6=9A=82?= =?UTF-8?q?=E5=AE=9A=E4=B8=BA2048?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- photo_mask/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/photo_mask/__init__.py b/photo_mask/__init__.py index 1bd77f1..8211fb0 100644 --- a/photo_mask/__init__.py +++ b/photo_mask/__init__.py @@ -27,4 +27,4 @@ SIMILAR_CHAR = { } # 如果不希望识别出空格,可以设置use_space_char=False。做此项设置一定要测试,2.7.3版本此项设置有bug,会导致识别失败 -OCR = PaddleOCR(use_angle_cls=False, show_log=False, det_db_box_thresh=0.3) +OCR = PaddleOCR(use_angle_cls=False, show_log=False, det_db_box_thresh=0.3, det_limit_side_len=2048)