mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-07 11:45:24 +03:00
zoom out value
This commit is contained in:
parent
2dd71a7d48
commit
2057296da9
@ -838,6 +838,9 @@ class PtzAutoTracker:
|
|||||||
)
|
)
|
||||||
- 1
|
- 1
|
||||||
)
|
)
|
||||||
|
if not result:
|
||||||
|
# zoom out
|
||||||
|
zoom = -(1 - zoom) if zoom != 0 else 0
|
||||||
|
|
||||||
logger.debug(f"{camera}: Zooming: {result} Zoom amount: {zoom}")
|
logger.debug(f"{camera}: Zooming: {result} Zoom amount: {zoom}")
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user