MCPcopy Create free account
hub / github.com/HXMap/HRMapNet / plot_rect3d_on_img

Function plot_rect3d_on_img

mmdetection3d/mmdet3d/core/visualizer/image_vis.py:60–84  ·  view source on GitHub ↗

Plot the boundary lines of 3D rectangular on 2D images. Args: img (numpy.array): The numpy array of image. num_rects (int): Number of 3D rectangulars. rect_corners (numpy.array): Coordinates of the corners of 3D rectangulars. Should be in the shape of [num_re

(img,
                       num_rects,
                       rect_corners,
                       color=(0, 255, 0),
                       thickness=1)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

draw_lidar_bbox3d_on_imgFunction · 0.85
draw_depth_bbox3d_on_imgFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected