From 2a9f27887c8959f365424a3d95b846b8e5985df5 Mon Sep 17 00:00:00 2001 From: an1018 <614803115@qq.com> Date: Thu, 14 Jul 2022 18:09:43 +0800 Subject: [PATCH] update --- ppstructure/predict_system.py | 2 +- ppstructure/recovery/README_ch.md | 6 ++++++ ppstructure/recovery/{docx.py => recovery_to_doc.py} | 0 3 files changed, 7 insertions(+), 1 deletion(-) rename ppstructure/recovery/{docx.py => recovery_to_doc.py} (100%) diff --git a/ppstructure/predict_system.py b/ppstructure/predict_system.py index b0ede5f3..d6f2e242 100644 --- a/ppstructure/predict_system.py +++ b/ppstructure/predict_system.py @@ -34,7 +34,7 @@ from ppocr.utils.logging import get_logger from tools.infer.predict_system import TextSystem from ppstructure.table.predict_table import TableSystem, to_excel from ppstructure.utility import parse_args, draw_structure_result -from ppstructure.recovery.docx import convert_info_docx +from ppstructure.recovery.recovery_to_doc import convert_info_docx logger = get_logger() diff --git a/ppstructure/recovery/README_ch.md b/ppstructure/recovery/README_ch.md index 1f72f8de..5a05abff 100644 --- a/ppstructure/recovery/README_ch.md +++ b/ppstructure/recovery/README_ch.md @@ -44,6 +44,12 @@ python3 -m pip install "paddlepaddle>=2.2" -i https://mirror.baidu.com/pypi/simp 更多需求,请参照[安装文档](https://www.paddlepaddle.org.cn/install/quick)中的说明进行操作。 +* **(2)安装依赖** + +```bash +python3 -m pip install -r ppstructure/recovery/requirements.txt +``` + ### 2.2 安装PaddleOCR diff --git a/ppstructure/recovery/docx.py b/ppstructure/recovery/recovery_to_doc.py similarity index 100% rename from ppstructure/recovery/docx.py rename to ppstructure/recovery/recovery_to_doc.py -- GitLab