mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-04 06:33:45 +00:00
fix crash in autotracking zoom
This commit is contained in:
parent
e75ed02a99
commit
66eef1474a
@ -1109,6 +1109,7 @@ class PtzAutoTracker:
|
||||
camera_height = camera_config.frame_shape[0]
|
||||
camera_fps = camera_config.detect.fps
|
||||
predicted_movement_time = 0
|
||||
zoom_distance = 0
|
||||
|
||||
average_velocity = np.zeros((4,))
|
||||
predicted_box = obj.obj_data["box"]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user