From 2d1f9414d75d139fcd8fd7dedb577cde6d07e65f Mon Sep 17 00:00:00 2001 From: andyj <87074272+andyjpaddle@users.noreply.github.com> Date: Wed, 14 Dec 2022 11:20:28 +0800 Subject: [PATCH] fix det res dtype in table recognition (#8616) * add finetune en doc & test=document_fix * fix dead link & test=document_fix * fix dead link & test=document_fix * update check img * fix det res dtype --- ppstructure/table/predict_table.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ppstructure/table/predict_table.py b/ppstructure/table/predict_table.py index 354baf6d..76bd42dc 100644 --- a/ppstructure/table/predict_table.py +++ b/ppstructure/table/predict_table.py @@ -93,7 +93,7 @@ class TableSystem(object): time_dict['rec'] = rec_elapse if return_ocr_result_in_table: - result['boxes'] = dt_boxes #[x.tolist() for x in dt_boxes] + result['boxes'] = [x.tolist() for x in dt_boxes] result['rec_res'] = rec_res tic = time.time() -- GitLab