forgot a debugging thing
L181: frame_by_frame_dist += [euclidean_distance(Q_kpt_old[comb[0]][:3],Q_kpt[comb[1]][:3])] --> removed the [:3]
This commit is contained in:
parent
db8014c3f5
commit
3a9d405cae
@ -178,7 +178,7 @@ def sort_people(Q_kpt_old, Q_kpt):
|
||||
# Compute distance between persons from one frame to another
|
||||
frame_by_frame_dist = []
|
||||
for comb in personsIDs_comb:
|
||||
frame_by_frame_dist += [euclidean_distance(Q_kpt_old[comb[0]][:3],Q_kpt[comb[1]][:3])]
|
||||
frame_by_frame_dist += [euclidean_distance(Q_kpt_old[comb[0]],Q_kpt[comb[1]])]
|
||||
|
||||
# sort correspondences by distance
|
||||
minL, _, associated_tuples = min_with_single_indices(frame_by_frame_dist, personsIDs_comb)
|
||||
|
Loading…
Reference in New Issue
Block a user