save figure result to txt

This commit is contained in:
WenmuZhou 2021-08-01 16:48:11 +08:00
parent 84b2376f0f
commit 17af94188d
1 changed files with 0 additions and 2 deletions

View File

@ -43,8 +43,6 @@ def draw_result(image, result, font_path):
for region in result:
if region['type'] == 'Table':
pass
elif region['type'] == 'Figure':
pass
else:
for box, rec_res in zip(region['res'][0], region['res'][1]):
boxes.append(np.array(box).reshape(-1, 2))