fix document;replace layout.png

This commit is contained in:
WenmuZhou 2021-08-01 12:00:30 +08:00
parent 560703a589
commit fb4ad303ff
4 changed files with 2 additions and 2 deletions

BIN
doc/table/layout.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 672 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 166 KiB

View File

@ -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]
# 加载模型

View File

@ -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