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 not stored for this graph (policy: none)