↓ 8 callersMethodupdate
Parameters:
'dets' - a numpy array of detection in the format [[x1, y1, x2, y2, score], [x1,y1,x2,y2,score],...]
segment/sort_count.py:253
↓ 7 callersFunctionletterbox(img, new_shape=(640, 640), color=(114, 114, 114), auto=True, scaleFill=False, scaleup=True, stride=32)
utils/datasets.py:984
↓ 5 callersMethodbox_label(self, box, label='', color=(128, 128, 128), txt_color=(255, 255, 255))
utils/plots.py:85
↓ 5 callersMethoddisplay(self, pprint=False, show=False, save=False, crop=False, render=False, labels=True, save_dir=Path(''))
models/common.py:747
↓ 5 callersFunctionletterbox(im, new_shape=(640, 640), color=(114, 114, 114), auto=True, scaleFill=False, scaleup=True, stride=32)
utils/augmentations.py:109
↓ 3 callersFunctionrandom_perspective(img, targets=(), segments=(), degrees=10, translate=.1, scale=.1, shear=10, perspective=0.0,
utils/datasets.py:1017