Commit 0586fe91 authored by wuzekai's avatar wuzekai

Update ocr.py

parent 0be76098
Pipeline #573 canceled with stages
......@@ -46,3 +46,8 @@ def ocr_inference():
"--cls_model_dir", cls_model_dir,
"--draw_img_save_dir", result_dir,
]
# 提取调试信息
debug_lines = result.stdout.splitlines()
pattern = re.compile(r"\[.*\] ppocr DEBUG: (.*?), (\d+\.\d+)")
results = []
\ No newline at end of file
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