提交 06921b13 编写于 作者: L LDOUBLEV

print to logger.info

上级 70f87eee
...@@ -191,7 +191,8 @@ if __name__ == "__main__": ...@@ -191,7 +191,8 @@ if __name__ == "__main__":
if count > 0: if count > 0:
total_time += elapse total_time += elapse
count += 1 count += 1
logger.info("Predict time of %s:" % image_file, elapse) logger.info("The predicted time of img: {} is {}:".format(image_file,
elapse))
src_im = utility.draw_text_det_res(dt_boxes, image_file) src_im = utility.draw_text_det_res(dt_boxes, image_file)
img_name_pure = image_file.split("/")[-1] img_name_pure = image_file.split("/")[-1]
cv2.imwrite( cv2.imwrite(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册