Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
MinerU
Commits
8dcfe9ad
Commit
8dcfe9ad
authored
Apr 22, 2024
by
赵小蒙
Browse files
参数命名修正
parent
f7847cad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
magic_pdf/pre_proc/construct_page_dict.py
magic_pdf/pre_proc/construct_page_dict.py
+2
-2
No files found.
magic_pdf/pre_proc/construct_page_dict.py
View file @
8dcfe9ad
...
...
@@ -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
,
d
rop
ed_blocks
):
images
,
tables
,
interline_equations
,
d
iscard
ed_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
,
'd
rop
ed_blocks'
:
d
rop
ed_blocks
,
'd
iscard
ed_blocks'
:
d
iscard
ed_blocks
,
}
return
return_dict
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment