Commit 8dcfe9ad authored by 赵小蒙's avatar 赵小蒙

参数命名修正

parent f7847cad
...@@ -55,7 +55,7 @@ def ocr_construct_page_component(blocks, layout_bboxes, page_id, page_w, page_h, ...@@ -55,7 +55,7 @@ def ocr_construct_page_component(blocks, layout_bboxes, page_id, page_w, page_h,
def ocr_construct_page_component_v2(blocks, layout_bboxes, page_id, page_w, page_h, layout_tree, def ocr_construct_page_component_v2(blocks, layout_bboxes, page_id, page_w, page_h, layout_tree,
images, tables, interline_equations, droped_blocks): images, tables, interline_equations, discarded_blocks):
return_dict = { return_dict = {
'preproc_blocks': blocks, 'preproc_blocks': blocks,
'layout_bboxes': layout_bboxes, 'layout_bboxes': layout_bboxes,
...@@ -65,6 +65,6 @@ def ocr_construct_page_component_v2(blocks, layout_bboxes, page_id, page_w, page ...@@ -65,6 +65,6 @@ def ocr_construct_page_component_v2(blocks, layout_bboxes, page_id, page_w, page
'images': images, 'images': images,
'tables': tables, 'tables': tables,
'interline_equations': interline_equations, 'interline_equations': interline_equations,
'droped_blocks': droped_blocks, 'discarded_blocks': discarded_blocks,
} }
return return_dict return return_dict
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