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
1e6de549
Commit
1e6de549
authored
Dec 19, 2024
by
pangguosheng
Browse files
fix: drop reason append error
parent
51b8c57d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
magic_pdf/pre_proc/remove_bbox_overlap.py
magic_pdf/pre_proc/remove_bbox_overlap.py
+1
-1
No files found.
magic_pdf/pre_proc/remove_bbox_overlap.py
View file @
1e6de549
...
...
@@ -70,7 +70,7 @@ def _remove_overlap_between_bboxes(arr):
res
[
i
]
=
None
else
:
keeps
[
idx
]
=
False
drop_reasons
.
append
(
drop_reason
s
)
drop_reasons
.
append
(
drop_reason
)
if
keeps
[
idx
]:
res
[
idx
]
=
v
return
res
,
drop_reasons
...
...
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