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
7a61afb9
Commit
7a61afb9
authored
Jul 11, 2024
by
myhloli
Browse files
update:remove useless file
parent
e3ad01a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
magic_pdf/model/360_layout_analysis.py
magic_pdf/model/360_layout_analysis.py
+0
-8
No files found.
magic_pdf/model/360_layout_analysis.py
deleted
100644 → 0
View file @
e3ad01a2
from
ultralytics
import
YOLO
image_path
=
''
# 待预测图片路径
model_path
=
''
# 权重路径
model
=
YOLO
(
model_path
)
result
=
model
(
image_path
,
save
=
True
,
conf
=
0.5
,
save_crop
=
False
,
line_width
=
2
)
print
(
result
)
\ No newline at end of file
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