提交 17af9418 编写于 作者: W WenmuZhou

save figure result to txt

上级 84b2376f
...@@ -43,8 +43,6 @@ def draw_result(image, result, font_path): ...@@ -43,8 +43,6 @@ def draw_result(image, result, font_path):
for region in result: for region in result:
if region['type'] == 'Table': if region['type'] == 'Table':
pass pass
elif region['type'] == 'Figure':
pass
else: else:
for box, rec_res in zip(region['res'][0], region['res'][1]): for box, rec_res in zip(region['res'][0], region['res'][1]):
boxes.append(np.array(box).reshape(-1, 2)) boxes.append(np.array(box).reshape(-1, 2))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册