"...git@developer.sourcefind.cn:chenpangpang/diffusers.git" did not exist on "3eb498e7b4868bca7460d41cda52d33c3ede5502"
Commit fb4ad303 authored by WenmuZhou's avatar WenmuZhou
Browse files

fix document;replace layout.png

parent 560703a5
...@@ -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.png") image = cv2.imread("doc/table/layout.jpg")
image = image[..., ::-1] image = image[..., ::-1]
# 加载模型 # 加载模型
......
...@@ -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.png") image = cv2.imread("doc/table/layout.jpg")
image = image[..., ::-1] image = image[..., ::-1]
# load model # load model
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment