fix document;replace layout.png
This commit is contained in:
parent
560703a589
commit
fb4ad303ff
Binary file not shown.
After Width: | Height: | Size: 672 KiB |
Binary file not shown.
Before Width: | Height: | Size: 166 KiB |
|
@ -26,7 +26,7 @@ pip install -U https://paddleocr.bj.bcebos.com/whl/layoutparser-0.0.0-py3-none-a
|
|||
```python
|
||||
import cv2
|
||||
import layoutparser as lp
|
||||
image = cv2.imread("doc/table/layout.png")
|
||||
image = cv2.imread("doc/table/layout.jpg")
|
||||
image = image[..., ::-1]
|
||||
|
||||
# 加载模型
|
||||
|
|
|
@ -27,7 +27,7 @@ Use LayoutParser to identify the layout of a given document:
|
|||
```python
|
||||
import cv2
|
||||
import layoutparser as lp
|
||||
image = cv2.imread("doc/table/layout.png")
|
||||
image = cv2.imread("doc/table/layout.jpg")
|
||||
image = image[..., ::-1]
|
||||
|
||||
# load model
|
||||
|
|
Loading…
Reference in New Issue