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
0b8a9d51
Commit
0b8a9d51
authored
Jul 09, 2025
by
myhloli
Browse files
feat: add content field to interline equation block in model_json_to_middle_json.py
parent
374f464b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
mineru/backend/pipeline/model_json_to_middle_json.py
mineru/backend/pipeline/model_json_to_middle_json.py
+1
-0
No files found.
mineru/backend/pipeline/model_json_to_middle_json.py
View file @
0b8a9d51
...
@@ -89,6 +89,7 @@ def page_model_info_to_page_info(page_model_info, image_dict, page, image_writer
...
@@ -89,6 +89,7 @@ def page_model_info_to_page_info(page_model_info, image_dict, page, image_writer
"type"
:
ContentType
.
INTERLINE_EQUATION
,
"type"
:
ContentType
.
INTERLINE_EQUATION
,
'score'
:
block
[
'score'
],
'score'
:
block
[
'score'
],
"bbox"
:
block
[
'bbox'
],
"bbox"
:
block
[
'bbox'
],
"content"
:
""
,
})
})
all_bboxes
,
all_discarded_blocks
,
footnote_blocks
=
prepare_block_bboxes
(
all_bboxes
,
all_discarded_blocks
,
footnote_blocks
=
prepare_block_bboxes
(
...
...
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