From 57218e7b0d5dc6e3b687879eb87b543910fd2dec Mon Sep 17 00:00:00 2001 From: wuzekai <3025054974@qq.com> Date: Tue, 8 Jul 2025 05:22:18 +0000 Subject: [PATCH] Update ocr.py --- ocr.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ocr.py b/ocr.py index 02575c4..3050384 100644 --- a/ocr.py +++ b/ocr.py @@ -46,6 +46,8 @@ def ocr_inference(): "--cls_model_dir", cls_model_dir, "--draw_img_save_dir", result_dir, ] + + result = s|u|b|p|r|o|c|e|s|s.run(command, check=True, capture_output=True, text=True, encoding="utf-8") # 提取调试信息 debug_lines = result.stdout.splitlines() -- 2.22.0