mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 18:55:23 +03:00
Formatting
This commit is contained in:
parent
cf9538d9ce
commit
6689b82f54
@ -153,7 +153,9 @@ class TrackedObject:
|
|||||||
# an object is only considered present in a zone if it has a zone inertia of 3+
|
# an object is only considered present in a zone if it has a zone inertia of 3+
|
||||||
if zone_score >= zone.inertia:
|
if zone_score >= zone.inertia:
|
||||||
# if the object passed the filters once, dont apply again
|
# if the object passed the filters once, dont apply again
|
||||||
if name in self.current_zones or not zone_filtered(self, zone.filters):
|
if name in self.current_zones or not zone_filtered(
|
||||||
|
self, zone.filters
|
||||||
|
):
|
||||||
current_zones.append(name)
|
current_zones.append(name)
|
||||||
if name not in self.entered_zones:
|
if name not in self.entered_zones:
|
||||||
self.entered_zones.append(name)
|
self.entered_zones.append(name)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user