change to en
parent
04cfb978d9
commit
41fcbb8609
|
@ -108,7 +108,7 @@ def main(args):
|
||||||
logger.info("error in loading image:{}".format(image_file))
|
logger.info("error in loading image:{}".format(image_file))
|
||||||
continue
|
continue
|
||||||
img_name = os.path.basename(image_file)
|
img_name = os.path.basename(image_file)
|
||||||
# 发送HTTP请求
|
# seed http request
|
||||||
starttime = time.time()
|
starttime = time.time()
|
||||||
data = {'images': [cv2_to_base64(img)]}
|
data = {'images': [cv2_to_base64(img)]}
|
||||||
r = requests.post(
|
r = requests.post(
|
||||||
|
|
Loading…
Reference in New Issue