"git@developer.sourcefind.cn:wangsen/paddle_dbnet.git" did not exist on "41ecf41d6cccbad5c391048d8d8bd2489e0e3b4b"
Unverified Commit bc999986 authored by xiaoting's avatar xiaoting Committed by GitHub
Browse files

Merge pull request #3185 from LDOUBLEV/fix_vis

save visualized image
parents 7363d2f9 42853ff0
...@@ -235,5 +235,5 @@ if __name__ == "__main__": ...@@ -235,5 +235,5 @@ if __name__ == "__main__":
img_name_pure = os.path.split(image_file)[-1] img_name_pure = os.path.split(image_file)[-1]
img_path = os.path.join(draw_img_save, img_path = os.path.join(draw_img_save,
"det_res_{}".format(img_name_pure)) "det_res_{}".format(img_name_pure))
cv2.imwrite(img_path, src_im)
logger.info("The visualized image saved in {}".format(img_path)) logger.info("The visualized image saved in {}".format(img_path))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment