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
paddle_dbnet
Commits
fb4ad303
Commit
fb4ad303
authored
Aug 01, 2021
by
WenmuZhou
Browse files
fix document;replace layout.png
parent
560703a5
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
2 deletions
+2
-2
doc/table/layout.jpg
doc/table/layout.jpg
+0
-0
doc/table/layout.png
doc/table/layout.png
+0
-0
ppstructure/layout/README.md
ppstructure/layout/README.md
+1
-1
ppstructure/layout/README_en.md
ppstructure/layout/README_en.md
+1
-1
No files found.
doc/table/layout.jpg
0 → 100644
View file @
fb4ad303
671 KB
doc/table/layout.png
deleted
100644 → 0
View file @
560703a5
166 KB
ppstructure/layout/README.md
View file @
fb4ad303
...
@@ -26,7 +26,7 @@ pip install -U https://paddleocr.bj.bcebos.com/whl/layoutparser-0.0.0-py3-none-a
...
@@ -26,7 +26,7 @@ pip install -U https://paddleocr.bj.bcebos.com/whl/layoutparser-0.0.0-py3-none-a
```
python
```
python
import
cv2
import
cv2
import
layoutparser
as
lp
import
layoutparser
as
lp
image
=
cv2
.
imread
(
"doc/table/layout.p
n
g"
)
image
=
cv2
.
imread
(
"doc/table/layout.
j
pg"
)
image
=
image
[...,
::
-
1
]
image
=
image
[...,
::
-
1
]
# 加载模型
# 加载模型
...
...
ppstructure/layout/README_en.md
View file @
fb4ad303
...
@@ -27,7 +27,7 @@ Use LayoutParser to identify the layout of a given document:
...
@@ -27,7 +27,7 @@ Use LayoutParser to identify the layout of a given document:
```
python
```
python
import
cv2
import
cv2
import
layoutparser
as
lp
import
layoutparser
as
lp
image
=
cv2
.
imread
(
"doc/table/layout.p
n
g"
)
image
=
cv2
.
imread
(
"doc/table/layout.
j
pg"
)
image
=
image
[...,
::
-
1
]
image
=
image
[...,
::
-
1
]
# load model
# load model
...
...
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