Commit 57218e7b authored by wuzekai's avatar wuzekai

Update ocr.py

parent 0586fe91
Pipeline #574 canceled with stages
......@@ -47,6 +47,8 @@ def ocr_inference():
"--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()
pattern = re.compile(r"\[.*\] ppocr DEBUG: (.*?), (\d+\.\d+)")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment