未验证 提交 145d35fe 编写于 作者: B Bin Lu 提交者: GitHub

Update pipeline_rpc_client.py

上级 45de12e8
...@@ -19,7 +19,7 @@ import base64 ...@@ -19,7 +19,7 @@ import base64
client = PipelineClient() client = PipelineClient()
client.connect(['127.0.0.1:9994']) client.connect(['127.0.0.1:9994'])
imgpath = "daoxiangcunjinzhubing_6.jpg" imgpath = "../../drink_dataset_v1.0/test_images/001.jpeg"
def cv2_to_base64(image): def cv2_to_base64(image):
return base64.b64encode(image).decode('utf8') return base64.b64encode(image).decode('utf8')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册