mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-11 05:35:25 +03:00
formatting
This commit is contained in:
parent
779e6c98d9
commit
47a3e0f9b7
@ -162,7 +162,7 @@ def get_relative_coordinates(
|
||||
x = int(points[i])
|
||||
y = int(points[i + 1])
|
||||
|
||||
if x > frame_shape[1] or y > frame_shape[0]:
|
||||
if x > frame_shape[1] or y > frame_shape[0]:
|
||||
logger.error(
|
||||
f"Not applying mask due to invalid coordinates. {x},{y} is outside of the detection resolution {frame_shape[1]}x{frame_shape[0]}. Use the editor in the UI to correct the mask."
|
||||
)
|
||||
@ -185,7 +185,7 @@ def get_relative_coordinates(
|
||||
x = int(points[i])
|
||||
y = int(points[i + 1])
|
||||
|
||||
if x > frame_shape[1] or y > frame_shape[0]:
|
||||
if x > frame_shape[1] or y > frame_shape[0]:
|
||||
logger.error(
|
||||
f"Not applying mask due to invalid coordinates. {x},{y} is outside of the detection resolution {frame_shape[1]}x{frame_shape[0]}. Use the editor in the UI to correct the mask."
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user