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

Function show_result_pyplot

mmdet/apis/inference.py:216–251  ·  view source on GitHub ↗

Visualize the detection results on the image. Args: model (nn.Module): The loaded detector. img (str or np.ndarray): Image filename or loaded image. result (tuple[list] or list): The detection result, can be either (bbox, segm) or just bbox. score_thr

(model,
                       img,
                       result,
                       score_thr=0.3,
                       title='result',
                       wait_time=0,
                       palette=None,
                       out_file=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.90

Calls 1

show_resultMethod · 0.45

Tested by 1

mainFunction · 0.72