MCPcopy Create free account
hub / github.com/VincentHancoder/SSGD / imshow_det_bboxes

Function imshow_det_bboxes

mmdet/core/visualization/image.py:206–373  ·  view source on GitHub ↗

Draw bboxes and class labels (with scores) on an image. Args: img (str | ndarray): The image to be displayed. bboxes (ndarray): Bounding boxes (with scores), shaped (n, 4) or (n, 5). labels (ndarray): Labels of bboxes. segms (ndarray | None): Masks, s

(img,
                      bboxes=None,
                      labels=None,
                      segms=None,
                      class_names=None,
                      score_thr=0,
                      bbox_color='green',
                      text_color='green',
                      mask_color=None,
                      thickness=2,
                      font_size=8,
                      win_name='',
                      show=True,
                      wait_time=0,
                      out_file=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 8

mainFunction · 0.90
mainFunction · 0.90
mainFunction · 0.90
_show_pan_resultMethod · 0.90
show_resultMethod · 0.90
show_resultMethod · 0.90
show_resultMethod · 0.90
imshow_gt_det_bboxesFunction · 0.85

Calls 6

palette_valFunction · 0.85
get_paletteFunction · 0.85
draw_bboxesFunction · 0.85
_get_adaptive_scalesFunction · 0.85
draw_labelsFunction · 0.85
draw_masksFunction · 0.85

Tested by

no test coverage detected