remove font_scale in timestamp_style and calculate dynamically again

This commit is contained in:
Blake Blackshear
2021-09-04 16:34:48 -05:00
parent 7fc5297f60
commit f63a7cb6c0
4 changed files with 51 additions and 30 deletions

View File

@@ -275,7 +275,6 @@ class TrackedObject:
self.thumbnail_data["frame_time"],
self.camera_config.timestamp_style.format,
font_effect=self.camera_config.timestamp_style.effect,
font_scale=self.camera_config.timestamp_style.scale,
font_thickness=self.camera_config.timestamp_style.thickness,
font_color=(color.red, color.green, color.blue),
position=self.camera_config.timestamp_style.position,
@@ -411,7 +410,6 @@ class CameraState:
frame_time,
self.camera_config.timestamp_style.format,
font_effect=self.camera_config.timestamp_style.effect,
font_scale=self.camera_config.timestamp_style.scale,
font_thickness=self.camera_config.timestamp_style.thickness,
font_color=(color.red, color.green, color.blue),
position=self.camera_config.timestamp_style.position,