Fix cross contaimation of labels (#10009)

This commit is contained in:
Nicolas Mowen 2024-02-23 18:15:08 -07:00 committed by GitHub
parent 318cdeb005
commit 02dfa1222e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -239,7 +239,9 @@ class ReviewSegmentMaintainer(threading.Thread):
detections,
objects=objects,
sub_labels=sub_labels,
audio=set(),
zones=zones,
motion=[],
)
frame_id = f"{camera_config.name}{frame_time}"
@ -318,7 +320,12 @@ class ReviewSegmentMaintainer(threading.Thread):
camera,
frame_time,
SeverityEnum.detection,
audio=set(audio_detections),
set(),
set(),
set(),
set(),
set(audio_detections),
[],
)