From 17af94188da6caab9c886a3dca8a78105a1cd794 Mon Sep 17 00:00:00 2001 From: WenmuZhou Date: Sun, 1 Aug 2021 16:48:11 +0800 Subject: [PATCH] save figure result to txt --- ppstructure/utility.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/ppstructure/utility.py b/ppstructure/utility.py index f21b287f..29daeef4 100644 --- a/ppstructure/utility.py +++ b/ppstructure/utility.py @@ -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)) -- GitLab