Unverified Commit b6b5615f authored by Tai-Wang's avatar Tai-Wang Committed by GitHub
Browse files

Fix the missing default bbox_mode in the show_multi_modality_result (#825)

parent 7873c8f6
...@@ -203,7 +203,7 @@ def show_multi_modality_result(img, ...@@ -203,7 +203,7 @@ def show_multi_modality_result(img,
proj_mat, proj_mat,
out_dir, out_dir,
filename, filename,
box_mode, box_mode='lidar',
img_metas=None, img_metas=None,
show=True, show=True,
gt_bbox_color=(61, 102, 255), gt_bbox_color=(61, 102, 255),
...@@ -220,8 +220,8 @@ def show_multi_modality_result(img, ...@@ -220,8 +220,8 @@ def show_multi_modality_result(img,
according to the camera intrinsic parameters. according to the camera intrinsic parameters.
out_dir (str): Path of output directory. out_dir (str): Path of output directory.
filename (str): Filename of the current frame. filename (str): Filename of the current frame.
box_mode (str): Coordinate system the boxes are in. box_mode (str): Coordinate system the boxes are in. Should be one of
Should be one of 'depth', 'lidar' and 'camera'. 'depth', 'lidar' and 'camera'. Defaults to 'lidar'.
img_metas (dict): Used in projecting depth bbox. img_metas (dict): Used in projecting depth bbox.
show (bool): Visualize the results online. Defaults to False. show (bool): Visualize the results online. Defaults to False.
gt_bbox_color (str or tuple(int)): Color of bbox lines. gt_bbox_color (str or tuple(int)): Color of bbox lines.
......
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