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
and thanks for your great work. Deepsort is doing what it is supposed to do :-)
And while getting the tracking ID is important, it is as much important to get the according class (when tracking different objects).
I am tinkering around that in Python but it looks messy :-( I generally think that besides the track_id,
the class_id might be readout somewhere after this point here:
for track in tracks: if not track.is_confirmed(): continue track_id = track.track_id
Unfortunately I did not find the information.
But I can go through all detentions within the above for_loop like so :
for detection in detections: ([x1, y1, w, h] ,conf, currentClass) = detection print('Test1', detection)
But then again any variable used to store this class information only contains the last of multiple detections :-(
Any ideas how this is done more easily?
Regards Dom
The text was updated successfully, but these errors were encountered:
Hi,
and thanks for your great work. Deepsort is doing what it is supposed to do :-)
And while getting the tracking ID is important, it is as much important to get the according class (when tracking different objects).
I am tinkering around that in Python but it looks messy :-( I generally think that besides the track_id,
the class_id might be readout somewhere after this point here:
for track in tracks: if not track.is_confirmed(): continue track_id = track.track_id
Unfortunately I did not find the information.
But I can go through all detentions within the above for_loop like so :
for detection in detections: ([x1, y1, w, h] ,conf, currentClass) = detection print('Test1', detection)
But then again any variable used to store this class information only contains the last of multiple detections :-(
Any ideas how this is done more easily?
Regards Dom
The text was updated successfully, but these errors were encountered: