mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-15 19:42:08 +03:00
Cleanup for mypy
This commit is contained in:
parent
34b4cc9cb1
commit
3402aec3c3
@ -20,7 +20,7 @@ class StationaryThresholds:
|
||||
|
||||
# Objects to apply these thresholds to
|
||||
# If None, apply to all objects
|
||||
objects: list[str] | None = None
|
||||
objects: list[str] = []
|
||||
|
||||
# Threshold of IoU that causes the object to immediately be considered active
|
||||
# Below this threshold, assume object is active
|
||||
@ -55,7 +55,6 @@ DYNAMIC_OBJECT_THRESHOLDS = StationaryThresholds(
|
||||
)
|
||||
|
||||
|
||||
@staticmethod
|
||||
def get_stationary_threshold(label: str) -> StationaryThresholds:
|
||||
"""Get the stationary thresholds for a given object label."""
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user