提交 6d73332b 编写于 作者: A andyjpaddle

add tipc for cpp infer

上级 70793cb8
...@@ -28,10 +28,10 @@ client = Client() ...@@ -28,10 +28,10 @@ client = Client()
# TODO:load_client need to load more than one client model. # TODO:load_client need to load more than one client model.
# this need to figure out some details. # this need to figure out some details.
client.load_client_config(sys.argv[1:]) client.load_client_config(sys.argv[1:])
client.connect(["127.0.0.1:8181"]) # 9293 client.connect(["127.0.0.1:8181"])
import paddle 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") ocr_reader = OCRReader(char_dict_path="../../ppocr/utils/ppocr_keys_v1.txt")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册