From 4c95450a854ee5f15e9bc82f9a86c77a8cb0d75b Mon Sep 17 00:00:00 2001 From: zhoujun Date: Fri, 30 Oct 2020 15:11:35 +0800 Subject: [PATCH] add use_pdserving param (#1062) --- paddleocr.py | 1 + setup.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/paddleocr.py b/paddleocr.py index 7e9b2402..85715718 100644 --- a/paddleocr.py +++ b/paddleocr.py @@ -166,6 +166,7 @@ def parse_args(): parser.add_argument("--enable_mkldnn", type=bool, default=False) parser.add_argument("--use_zero_copy_run", type=bool, default=False) + parser.add_argument("--use_pdserving", type=str2bool, default=False) parser.add_argument("--lang", type=str, default='ch') parser.add_argument("--det", type=str2bool, default=True) diff --git a/setup.py b/setup.py index 2cea853d..fe5b404c 100644 --- a/setup.py +++ b/setup.py @@ -32,7 +32,7 @@ setup( package_dir={'paddleocr': ''}, include_package_data=True, entry_points={"console_scripts": ["paddleocr= paddleocr.paddleocr:main"]}, - version='1.0.0', + version='1.0.1', install_requires=requirements, license='Apache License 2.0', description='Awesome OCR toolkits based on PaddlePaddle (8.6M ultra-lightweight pre-trained model, support training and deployment among server, mobile, embeded and IoT devices', -- GitLab