mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-09 04:35:25 +03:00
Formatting
This commit is contained in:
parent
abd2800157
commit
98c492197c
@ -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,
|
||||
|
||||
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user