mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 10:45:21 +03:00
fix motion logic
This commit is contained in:
parent
db9a408edf
commit
1a78230eae
@ -769,7 +769,7 @@ def process_frames(
|
|||||||
# look for motion if enabled
|
# look for motion if enabled
|
||||||
motion_boxes = (
|
motion_boxes = (
|
||||||
motion_detector.detect(frame)
|
motion_detector.detect(frame)
|
||||||
if motion_enabled.value or ptz_moving.value
|
if motion_enabled.value and not ptz_moving.value
|
||||||
else []
|
else []
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user