From 6d73332b975efec7aa89aac99f523d0e87234d74 Mon Sep 17 00:00:00 2001 From: andyjpaddle Date: Mon, 6 Jun 2022 07:50:12 +0000 Subject: [PATCH] add tipc for cpp infer --- deploy/pdserving/ocr_cpp_client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/pdserving/ocr_cpp_client.py b/deploy/pdserving/ocr_cpp_client.py index 649dfe04..3aaf0315 100755 --- a/deploy/pdserving/ocr_cpp_client.py +++ b/deploy/pdserving/ocr_cpp_client.py @@ -28,10 +28,10 @@ client = Client() # TODO:load_client need to load more than one client model. # this need to figure out some details. client.load_client_config(sys.argv[1:]) -client.connect(["127.0.0.1:8181"]) # 9293 +client.connect(["127.0.0.1:8181"]) import paddle -test_img_dir = "../../doc/imgs/" +test_img_dir = "../../doc/imgs/1.jpg" ocr_reader = OCRReader(char_dict_path="../../ppocr/utils/ppocr_keys_v1.txt") -- GitLab