mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-06 19:25:22 +03:00
adjust zoom factor exponent
This commit is contained in:
parent
ab5c44b91a
commit
c3896f47d5
@ -814,7 +814,7 @@ class PtzAutoTracker:
|
||||
)
|
||||
) is not None:
|
||||
# zoom in value
|
||||
zoom = target_box ** self.zoom_factor[camera]
|
||||
zoom = target_box ** (self.zoom_factor[camera] / 1.5)
|
||||
|
||||
if not result:
|
||||
# zoom out
|
||||
|
||||
Loading…
Reference in New Issue
Block a user