-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
When I used a test image, the person got detected 3 times, so while calculating distance, it is not possible to make sure of their class k = len(boxes)
i=0
dist = []
for i in range(0, k):
if (class_id[i]!=class_id[i+1]):
dist_btw = (boxes[i][0]-boxes[i+1][0])**2 +(boxes[i][1]-boxes[i+1][1])**2
dist.append(dist_btw)
else:
continue
i=i+1
but while using this part I get invalid index to scalar error
Metadata
Metadata
Assignees
Labels
No labels