mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-11 13:45:25 +03:00
revert
This commit is contained in:
parent
ac7944a8ea
commit
3444d340f9
@ -606,7 +606,7 @@ class ZoneConfig(BaseModel):
|
||||
if explicit:
|
||||
self.coordinates = ",".join(
|
||||
[
|
||||
f"{int(points[i]) / frame_shape[1]},{int(points[i + 1]) / frame_shape[0]}"
|
||||
f"{round(int(points[i]) / frame_shape[1], 3)},{round(int(points[i + 1]) / frame_shape[0], 3)}"
|
||||
for i in range(0, len(points), 2)
|
||||
]
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user