diff --git a/README.md b/README.md index a1b721e56ced2956033ef9cc0b056fe02fb80c03..c7f7ab76a9169bb54e4d2874a5ff7b8468795373 100644 --- a/README.md +++ b/README.md @@ -101,11 +101,13 @@ For a new language request, please refer to [Guideline for new language_requests - [Installation](./doc/doc_en/installation_en.md) - [Quick Start(Chinese)](./doc/doc_en/quickstart_en.md) - [Quick Start(English&Multi-languages)](./doc/doc_en/multi_languages_en.md) +- [Quick Start(PP-Structure)](./ppstructure/README.md) - [Code Structure](./doc/doc_en/tree_en.md) - Algorithm Introduction - [Text Detection Algorithm](./doc/doc_en/algorithm_overview_en.md) - [Text Recognition Algorithm](./doc/doc_en/algorithm_overview_en.md) - [PP-OCR Pipeline](#PP-OCR-Pipeline) + - [PP-Structure Pipeline](./ppstructure/README.md) - Model Training/Evaluation - [Text Detection](./doc/doc_en/detection_en.md) - [Text Recognition](./doc/doc_en/recognition_en.md) diff --git a/README_ch.md b/README_ch.md index b4eba73eab2705b352e4f7912aaab8746a20ce15..33bd82379f192bbd8bbe0bc5dd561f466a719fb9 100755 --- a/README_ch.md +++ b/README_ch.md @@ -91,11 +91,13 @@ PaddleOCR同时支持动态图与静态图两种编程范式 - [快速安装](./doc/doc_ch/installation.md) - [中文OCR模型快速使用](./doc/doc_ch/quickstart.md) - [多语言OCR模型快速使用](./doc/doc_ch/multi_languages.md) +- [版面分析与表格识别快速使用](./ppstructure/README_ch.md) - [代码组织结构](./doc/doc_ch/tree.md) - 算法介绍 - [文本检测](./doc/doc_ch/algorithm_overview.md) - [文本识别](./doc/doc_ch/algorithm_overview.md) - [PP-OCR Pipeline](#PP-OCR) + - [PP-Structure Pipeline](./ppstructure/README_ch.md) - [端到端PGNet算法](./doc/doc_ch/pgnet.md) - 模型训练/评估 - [文本检测](./doc/doc_ch/detection.md) @@ -106,7 +108,7 @@ PaddleOCR同时支持动态图与静态图两种编程范式 - [基于pip安装whl包快速推理](./doc/doc_ch/whl.md) - [基于Python脚本预测引擎推理](./doc/doc_ch/inference.md) - [基于C++预测引擎推理](./deploy/cpp_infer/readme.md) - - [服务化部署](./deploy/hubserving/readme.md) + - [服务化部署](./deploy/pdserving/README_CN.md) - [端侧部署](./deploy/lite/readme.md) - [Benchmark](./doc/doc_ch/benchmark.md) - 数据集 diff --git a/ppstructure/README_ch.md b/ppstructure/README_ch.md index 987a13552664c8ec7415bb4200786a5723f5fa88..0902164aae91fd1a92057c35070e78e8bce576f9 100644 --- a/ppstructure/README_ch.md +++ b/ppstructure/README_ch.md @@ -127,7 +127,7 @@ dict 里各个字段说明如下 大部分参数和paddleocr whl包保持一致,见 [whl包文档](../doc/doc_ch/whl.md) -运行完成后,每张图片会在`output`字段指定的目录下有一个同名目录,图片里的每个表格会存储为一个excel,图片区域会被裁剪之后保存下来,excel文件和图片名名为表格在图片里的坐标。 +运行完成后,每张图片会在`output`字段指定的目录下有一个同名目录,图片里的每个表格会存储为一个excel,图片区域会被裁剪之后保存下来,excel文件和图片名为表格在图片里的坐标。 ## 4. PP-Structure Pipeline介绍 diff --git a/tools/infer/predict_e2e.py b/tools/infer/predict_e2e.py index cd6c2005a7cc77c356e3f004cd586a84676ea7fa..5029d6059346a00062418d8d1b6cb029b0110643 100755 --- a/tools/infer/predict_e2e.py +++ b/tools/infer/predict_e2e.py @@ -74,7 +74,7 @@ class TextE2E(object): self.preprocess_op = create_operators(pre_process_list) self.postprocess_op = build_post_process(postprocess_params) - self.predictor, self.input_tensor, self.output_tensors = utility.create_predictor( + self.predictor, self.input_tensor, self.output_tensors, _ = utility.create_predictor( args, 'e2e', logger) # paddle.jit.load(args.det_model_dir) # self.predictor.eval()