mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-06 19:25:22 +03:00
predicted box should not be empty
This commit is contained in:
parent
b264b168f2
commit
4dfac5a7df
@ -544,7 +544,7 @@ class PtzAutoTracker:
|
||||
def _autotrack_move_ptz(self, camera, obj):
|
||||
camera_config = self.config.cameras[camera]
|
||||
average_velocity = (0,) * 4
|
||||
predicted_box = []
|
||||
predicted_box = obj.obj_data["box"]
|
||||
|
||||
# # frame width and height
|
||||
camera_width = camera_config.frame_shape[1]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user