修正图片矫正接口ip

This commit is contained in:
2024-09-26 16:23:48 +08:00
parent 0618754da2
commit a62c2af816

View File

@@ -112,7 +112,7 @@ def request_dewarped_image(img_path):
:param img_path: 待矫正图片路径
:return: 矫正后的图片路径
"""
url = 'http://127.0.0.1:5007/dewarp'
url = 'http://dewarp_api:5007/dewarp'
response = requests.post(url, {'img_path': img_path})
if response.status_code == 200:
return response.json()