From bde460dc77a1a9f2b9e3569a280f3b3e64ef6838 Mon Sep 17 00:00:00 2001 From: liuyebo <1515783401@qq.com> Date: Thu, 25 Jul 2024 13:38:12 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E4=B8=A2=E5=BC=83=E7=9A=84?= =?UTF-8?q?=E9=98=88=E5=80=BC?= 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 bbd123c..d22a599 100644 --- a/photo_mask/__init__.py +++ b/photo_mask/__init__.py @@ -32,4 +32,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, det_limit_side_len=1248) +OCR = PaddleOCR(use_angle_cls=False, show_log=False, det_db_box_thresh=0.3, det_limit_side_len=1248, drop_score=0.3)