From c7665b268945722185a3f7ce1818c176e868ecf4 Mon Sep 17 00:00:00 2001 From: liuyebo <1515783401@qq.com> Date: Sat, 20 Jul 2024 17:15:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96ocr=E7=9A=84=E6=A3=80?= =?UTF-8?q?=E6=B5=8B=E8=83=BD=E5=8A=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- photo_review/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/photo_review/__init__.py b/photo_review/__init__.py index 96b2fdf..36d94f2 100644 --- a/photo_review/__init__.py +++ b/photo_review/__init__.py @@ -69,4 +69,4 @@ DISCHARGE_IE = Taskflow("information_extraction", schema=DISCHARGE_RECORD_SCHEMA COST_IE = Taskflow("information_extraction", schema=COST_LIST_SCHEMA, model="uie-x-base", device_id=1, task_path="model/cost_list_model", layout_analysis=LAYOUT_ANALYSIS, precision='fp16') -OCR = PaddleOCR(use_angle_cls=False, lang="ch", show_log=False, gpu_id=1) +OCR = PaddleOCR(use_angle_cls=False, show_log=False, gpu_id=1, det_db_box_thresh=0.3)