From c9ba8e23d2a0e6128ca1fce7cdbbe4b33727e6a7 Mon Sep 17 00:00:00 2001 From: adipandas Date: Tue, 10 Oct 2023 14:34:29 -0400 Subject: [PATCH] Bug fix in tracker.py [issue #48] --- motrackers/tracker.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/motrackers/tracker.py b/motrackers/tracker.py index da92b19..cbbff58 100644 --- a/motrackers/tracker.py +++ b/motrackers/tracker.py @@ -83,9 +83,10 @@ def _get_tracks(tracks): """ outputs = [] - for trackid, track in tracks.items(): - if not track.lost: - outputs.append(track.output()) + for _, track in tracks.items(): + # if not track.lost: + # outputs.append(track.output()) + outputs.append(track.output()) return outputs @staticmethod