yolov3_deepsort icon indicating copy to clipboard operation
yolov3_deepsort copied to clipboard

non-maxima suppresion after feature generation is computationally wasteful

Open anlutfi opened this issue 5 years ago • 0 comments

In object_tracker.py you first do detections = [Detection(bbox, score, class_name, feature) for bbox, score, class_name, feature in zip(converted_boxes, scores[0], names, features)] and then indices = preprocessing.non_max_suppression(boxs, classes, nms_max_overlap, scores)

I suggest that you perform NMS immediately after running yolo, so you don't waste time computing boxes that will just end up unused

anlutfi avatar Jun 02 '20 02:06 anlutfi