From 31e5cf3a523ef62312910b0cee0ea4a9abf02d5f Mon Sep 17 00:00:00 2001 From: WenmuZhou Date: Tue, 3 Aug 2021 16:29:55 +0800 Subject: [PATCH] update requirements.txt --- ppstructure/README.md | 2 +- ppstructure/README_ch.md | 2 +- requirements.txt | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ppstructure/README.md b/ppstructure/README.md index 95a0fcfe..d5f3ce30 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 7c054c26..6cf3da84 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 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 -- GitLab