mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-15 07:35:27 +03:00
Fixed PtzMotionEstimator.ptz_metrics type annotation
This commit is contained in:
parent
1e73147359
commit
eb53733b87
@ -49,9 +49,7 @@ def ptz_moving_at_frame_time(frame_time, ptz_start_time, ptz_stop_time):
|
|||||||
|
|
||||||
|
|
||||||
class PtzMotionEstimator:
|
class PtzMotionEstimator:
|
||||||
def __init__(
|
def __init__(self, config: CameraConfig, ptz_metrics: PTZMetrics) -> None:
|
||||||
self, config: CameraConfig, ptz_metrics: dict[str, PTZMetrics]
|
|
||||||
) -> None:
|
|
||||||
self.frame_manager = SharedMemoryFrameManager()
|
self.frame_manager = SharedMemoryFrameManager()
|
||||||
self.norfair_motion_estimator = None
|
self.norfair_motion_estimator = None
|
||||||
self.camera_config = config
|
self.camera_config = config
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user