Fix object processing logic for detections (#14766)

This commit is contained in:
Josh Hawkins 2024-11-03 18:41:31 -06:00 committed by GitHub
parent 9755fa0537
commit 959ca0f412
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -714,7 +714,8 @@ class TrackedObjectProcessor(threading.Thread):
)
and (
not review_config.detections.required_zones
or set(obj.entered_zones) & set(review_config.alerts.required_zones)
or set(obj.entered_zones)
& set(review_config.detections.required_zones)
)
)
):