Support onnx runtime

This commit is contained in:
三洋三洋
2024-06-22 21:51:51 +08:00
parent 8da3fd7418
commit 9638c0030d
5 changed files with 65 additions and 26 deletions

View File

@@ -6,7 +6,7 @@ det_server_url = "http://127.0.0.1:8000/fdet"
img_path = "/your/image/path/"
with open(img_path, 'rb') as img:
files = {'img': img}
response = requests.post(det_server_url, files=files)
# response = requests.post(rec_server_url, files=files)
response = requests.post(rec_server_url, files=files)
# response = requests.post(det_server_url, files=files)
print(response.text)