diff --git a/ppstructure/README.md b/ppstructure/README.md index 95a0fcfe9ac02e4c26aeb62361e93b3a9580e9ca..d5f3ce301af84bf59261a88d07dac9b5136d3b3f 100644 --- a/ppstructure/README.md +++ b/ppstructure/README.md @@ -37,7 +37,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 7c054c26faa5f08212648ab51c6ab1866fe9acc8..6cf3da8488f8667dabc646231d8614fc4adad218 100644 --- a/ppstructure/README_ch.md +++ b/ppstructure/README_ch.md @@ -37,7 +37,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 d96b3a9d84d30b221e3e0d4b302d634c1681272f..decaa92b969df8b1a96045ae4e3f1ee81d1ea564 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