add tipc for cpp infer

pull/6474/head
andyjpaddle 2022-06-06 07:50:12 +00:00
parent 70793cb847
commit 6d73332b97
1 changed files with 2 additions and 2 deletions

View File

@ -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")