Formatting

This commit is contained in:
Nicolas Mowen 2024-03-19 14:07:23 -06:00
parent abd2800157
commit 98c492197c
2 changed files with 2 additions and 4 deletions

View File

@ -518,7 +518,7 @@ class ZoneConfig(BaseModel):
loitering_time: int = Field(
default=0,
ge=0,
title="Number of seconds that an object must loiter to be considered in the zone."
title="Number of seconds that an object must loiter to be considered in the zone.",
)
objects: List[str] = Field(
default_factory=list,

View File

@ -535,9 +535,7 @@ class CameraState:
):
max_target_box = self.ptz_autotracker_thread.ptz_autotracker.tracked_object_metrics[
self.name
][
"max_target_box"
]
]["max_target_box"]
side_length = max_target_box * (
max(
self.camera_config.detect.width,