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
57f44dd8
Commit
57f44dd8
authored
Jun 10, 2025
by
myhloli
Browse files
refactor: update PDF library import from PyPDF2 to pypdf
parent
983aef75
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mineru/utils/draw_bbox.py
mineru/utils/draw_bbox.py
+1
-1
No files found.
mineru/utils/draw_bbox.py
View file @
57f44dd8
import
json
from
io
import
BytesIO
from
PyPDF2
import
PdfReader
,
PdfWriter
from
pypdf
import
PdfReader
,
PdfWriter
from
reportlab.pdfgen
import
canvas
from
.enum_class
import
BlockType
,
ContentType
...
...
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