Fix limiting stationary objects history

This commit is contained in:
Nicolas Mowen 2025-09-26 05:04:35 -06:00
parent 516a7e2e8c
commit 77334063bc

View File

@ -410,7 +410,7 @@ class NorfairTracker(ObjectTracker):
# if there are more than 5 and less than 10 entries for the position, add the bounding box
# and recompute the position box
if 5 <= len(position["xmins"]) < 10:
if len(position["xmins"]) < 10:
position["xmins"].append(xmin)
position["ymins"].append(ymin)
position["xmaxs"].append(xmax)