From 57dce4ec38666a7d5c1364e794b95e44d7e0b95a Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Sat, 7 Jan 2023 11:05:11 -0700 Subject: [PATCH] Make label colors consistent (#4951) --- frigate/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/config.py b/frigate/config.py index e55db040e..6e6c120be 100644 --- a/frigate/config.py +++ b/frigate/config.py @@ -968,7 +968,7 @@ class FrigateConfig(FrigateBaseModel): for _, camera in config.cameras.items(): enabled_labels.update(camera.objects.track) - config.model.create_colormap(enabled_labels) + config.model.create_colormap(sorted(enabled_labels)) for key, detector in config.detectors.items(): detector_config: DetectorConfig = parse_obj_as(DetectorConfig, detector)