diff --git a/frigate/config.py b/frigate/config.py index 49932e609..8c9052948 100644 --- a/frigate/config.py +++ b/frigate/config.py @@ -400,9 +400,9 @@ class SnapshotsConfig(BaseModel): class ColorConfig(BaseModel): - red: int = Field(default=255, le=0, ge=255, title="Red") - green: int = Field(default=255, le=0, ge=255, title="Green") - blue: int = Field(default=255, le=0, ge=255, title="Blue") + red: int = Field(default=255, ge=0, le=255, title="Red") + green: int = Field(default=255, ge=0, le=255, title="Green") + blue: int = Field(default=255, ge=0, le=255, title="Blue") class TimestampPositionEnum(str, Enum): diff --git a/frigate/object_processing.py b/frigate/object_processing.py index e5c7f1e5b..38bacc0e2 100644 --- a/frigate/object_processing.py +++ b/frigate/object_processing.py @@ -276,7 +276,7 @@ class TrackedObject: self.camera_config.timestamp_style.format, font_effect=self.camera_config.timestamp_style.effect, font_thickness=self.camera_config.timestamp_style.thickness, - font_color=(color.red, color.green, color.blue), + font_color=(color.blue, color.green, color.red), position=self.camera_config.timestamp_style.position, ) @@ -411,7 +411,7 @@ class CameraState: self.camera_config.timestamp_style.format, font_effect=self.camera_config.timestamp_style.effect, font_thickness=self.camera_config.timestamp_style.thickness, - font_color=(color.red, color.green, color.blue), + font_color=(color.blue, color.green, color.red), position=self.camera_config.timestamp_style.position, )