You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for index, detection in enumerate(detections):
for new_detection in new_detections:
if overlapping_area(detection, new_detection) > threshold:
del detections[index]
break
else:
new_detections.append(detection)
del detections[index]
while len(detections) > 0:
detection = detections.pop()
for new_detection in new_detections:
if overlapping_area(detection, new_detection) > threshold:
break
else:
new_detections.append(detection)
changes to iterator will not work - nms produces:
e.g. change to:
The text was updated successfully, but these errors were encountered: