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