This commit is contained in:
wudong 2022-11-08 13:40:33 +08:00
commit 329bfaf1cd

View File

@ -224,7 +224,7 @@ 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)
report_cellback(count,len(os.listdir(source)),path,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")
#######统计检测结果:图片总数量,成功数量,失败数量 #######统计检测结果:图片总数量,成功数量,失败数量