diff --git a/ppstructure/README.md b/ppstructure/README.md index 8e1642cc..0d0d93ef 100644 --- a/ppstructure/README.md +++ b/ppstructure/README.md @@ -36,7 +36,7 @@ python3 -m pip install paddlepaddle-gpu==2.1.1 -i https://mirror.baidu.com/pypi/ - **(2) Install Layout-Parser** ```bash -pip3 install -U premailer paddleocr https://paddleocr.bj.bcebos.com/whl/layoutparser-0.0.0-py3-none-any.whl +pip3 install -U https://paddleocr.bj.bcebos.com/whl/layoutparser-0.0.0-py3-none-any.whl ``` ### 2.2 Install PaddleOCR(including PP-OCR and PP-Structure) diff --git a/ppstructure/README_ch.md b/ppstructure/README_ch.md index c8acac59..9ba017da 100644 --- a/ppstructure/README_ch.md +++ b/ppstructure/README_ch.md @@ -36,7 +36,7 @@ python3 -m pip install paddlepaddle-gpu==2.1.1 -i https://mirror.baidu.com/pypi/ - **(2) 安装 Layout-Parser** ```bash -pip3 install -U premailer paddleocr https://paddleocr.bj.bcebos.com/whl/layoutparser-0.0.0-py3-none-any.whl +pip3 install -U https://paddleocr.bj.bcebos.com/whl/layoutparser-0.0.0-py3-none-any.whl ``` ### 2.2 安装PaddleOCR(包含PP-OCR和PP-Structure) diff --git a/requirements.txt b/requirements.txt index d96b3a9d..decaa92b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,4 +7,6 @@ tqdm numpy visualdl python-Levenshtein -opencv-contrib-python==4.2.0.32 \ No newline at end of file +opencv-contrib-python==4.2.0.32 +lxml +premailer \ No newline at end of file