Formatting

This commit is contained in:
Nick Mowen 2023-10-19 14:14:54 -06:00
parent ecc5555e5d
commit 5b1eb9771c

View File

@ -600,7 +600,8 @@ def process_frames(
and object_tracker.disappeared[obj["id"]] == 0 and object_tracker.disappeared[obj["id"]] == 0
# and it doesn't overlap with any current motion boxes when not calibrating # and it doesn't overlap with any current motion boxes when not calibrating
and not intersects_any( and not intersects_any(
obj["box"], [] if motion_detector.is_calibrating() else motion_boxes obj["box"],
[] if motion_detector.is_calibrating() else motion_boxes,
) )
] ]