提交 b02abbfc 编写于 作者: J Jiawei Wang 提交者: GitHub

Update rec_web_client.py

上级 94796ce4
...@@ -28,7 +28,7 @@ def cv2_to_base64(image): ...@@ -28,7 +28,7 @@ def cv2_to_base64(image):
headers = {"Content-type": "application/json"} headers = {"Content-type": "application/json"}
url = "http://127.0.0.1:8900/ocr/prediction" url = "http://127.0.0.1:9292/ocr/prediction"
test_img_dir = "rec_img/" test_img_dir = "rec_img/"
for img_file in os.listdir(test_img_dir): for img_file in os.listdir(test_img_dir):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册