未验证 提交 ae9796c0 编写于 作者: J Jason 提交者: GitHub

Merge pull request #46 from FlyingQianMM/develop_qh

fix bugs in seg_visualize
......@@ -66,7 +66,7 @@ def visualize_segmentation(image, result, weight=0.6, save_dir='./'):
image_name = str(int(time.time())) + '.jpg'
else:
image_name = os.path.split(image)[-1]
image = cv2.imread(image)
im = cv2.imread(image)
vis_result = cv2.addWeighted(im, weight, pseudo_img, 1 - weight, 0)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册