Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pdf-miner
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Qin Kaijie
pdf-miner
Commits
f68c6629
Commit
f68c6629
authored
Mar 01, 2024
by
xuchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update code
parent
59b0b0c3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
pdf_parse_by_model.py
magic_pdf/pdf_parse_by_model.py
+0
-1
No files found.
magic_pdf/pdf_parse_by_model.py
View file @
f68c6629
...
...
@@ -257,7 +257,6 @@ def parse_pdf_by_model(
footnote_bboxes_by_model
=
parse_footnotes_by_model
(
page_id
,
page
,
model_output_json
,
md_bookname_save_path
,
debug_mode
=
debug_mode
)
# 通过规则识别到的footnote
footnote_bboxes_by_rule
=
parse_footnotes_by_rule
(
remain_text_blocks
,
page_height
,
page_id
,
main_text_font
)
"""进入pdf过滤器,去掉一些不合理的pdf"""
is_good_pdf
,
err
=
pdf_filter
(
page
,
remain_text_blocks
,
table_bboxes
,
image_bboxes
)
if
not
is_good_pdf
:
...
...
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