This commit is contained in:
552068321@qq.com 2022-11-08 14:04:36 +08:00
parent 744cfb8a6b
commit abc469f0ef

View File

@ -224,6 +224,10 @@ def run(id,
# 原始图像路径/结果图像路径 传参 # 原始图像路径/结果图像路径 传参
#online_img_tools.get_res_img(res_path=save_path, img_path=path, proj_no=pro) #online_img_tools.get_res_img(res_path=save_path, img_path=path, proj_no=pro)
print('数量:',count)
print('总量:',len(os.listdir(source)))
print('path',path)
print('path', str(save_path))
report_cellback(count,len(os.listdir(source)),path,str(save_path)) report_cellback(count,len(os.listdir(source)),path,str(save_path))
# Print time (inference-only) # Print time (inference-only)
LOGGER.info(f"{s}{'' if len(det) else '(no detections), '}{dt[1].dt * 1E3:.1f}ms") LOGGER.info(f"{s}{'' if len(det) else '(no detections), '}{dt[1].dt * 1E3:.1f}ms")