mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-06 19:25:22 +03:00
fix area zoom logic
This commit is contained in:
parent
b918ecdd35
commit
d34dd3f491
@ -714,7 +714,7 @@ class PtzAutoTracker:
|
||||
and abs(obj.obj_data["area"] - obj.previous["area"])
|
||||
/ obj.obj_data["area"]
|
||||
< 0.3
|
||||
and zoom >= zoom_level
|
||||
and zoom <= zoom_level
|
||||
):
|
||||
zoom = 0
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user