mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
Make label colors consistent (#4951)
This commit is contained in:
parent
0dbf909ca6
commit
57dce4ec38
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user