未验证 提交 45de12e8 编写于 作者: B Bin Lu 提交者: GitHub

Update pipeline_http_client.py

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