Commit 0586fe91 authored by wuzekai's avatar wuzekai

Update ocr.py

parent 0be76098
Pipeline #573 canceled with stages
......@@ -45,4 +45,9 @@ def ocr_inference():
"--rec_model_dir", rec_model_dir,
"--cls_model_dir", cls_model_dir,
"--draw_img_save_dir", result_dir,
]
\ No newline at end of file
]
# 提取调试信息
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