Commit 57218e7b authored by wuzekai's avatar wuzekai

Update ocr.py

parent 0586fe91
Pipeline #574 canceled with stages
...@@ -46,6 +46,8 @@ def ocr_inference(): ...@@ -46,6 +46,8 @@ def ocr_inference():
"--cls_model_dir", cls_model_dir, "--cls_model_dir", cls_model_dir,
"--draw_img_save_dir", result_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() debug_lines = result.stdout.splitlines()
......
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