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