mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-16 03:52:09 +03:00
Fix limiting stationary objects history
This commit is contained in:
parent
516a7e2e8c
commit
77334063bc
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user