mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-08 12:15:25 +03:00
fix ruff
This commit is contained in:
parent
da09e3904e
commit
91693392f2
@ -1154,9 +1154,7 @@ class PtzAutoTracker:
|
|||||||
"target_box"
|
"target_box"
|
||||||
] + self._predict_area_after_time(
|
] + self._predict_area_after_time(
|
||||||
camera, predicted_movement_time
|
camera, predicted_movement_time
|
||||||
) / (
|
) / (camera_width * camera_height)
|
||||||
camera_width * camera_height
|
|
||||||
)
|
|
||||||
logger.debug(
|
logger.debug(
|
||||||
f"{camera}: Zooming prediction: predicted movement time: {predicted_movement_time}, original box: {self.tracked_object_metrics[camera]['target_box']}, calculated box: {calculated_target_box}"
|
f"{camera}: Zooming prediction: predicted movement time: {predicted_movement_time}, original box: {self.tracked_object_metrics[camera]['target_box']}, calculated box: {calculated_target_box}"
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user