Update frigate/track/norfair_tracker.py

Co-authored-by: Blake Blackshear <blake@frigate.video>
This commit is contained in:
Nicolas Mowen 2024-02-24 12:51:47 -07:00 committed by GitHub
parent e82befb53e
commit 417ebc09fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -154,7 +154,6 @@ class NorfairTracker(ObjectTracker):
-MAX_STATIONARY_HISTORY: -MAX_STATIONARY_HISTORY:
] ]
# TODO calculate mean of boxes
avg_iou = intersection_over_union( avg_iou = intersection_over_union(
box, average_boxes(self.stationary_box_history[id]) box, average_boxes(self.stationary_box_history[id])
) )