mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 18:55:23 +03:00
Limit portrait cameras to taking up 2 rows
This commit is contained in:
parent
3ff8cc59f3
commit
5112d4760f
@ -401,7 +401,7 @@ class BirdsEyeFrameManager:
|
||||
camera_dims = self.cameras[cameras[0]]["dimensions"].copy()
|
||||
|
||||
if camera_dims[1] > camera_dims[0]:
|
||||
scaled_height = int(row_height * coefficient)
|
||||
scaled_height = int(row_height * 2)
|
||||
scaled_width = int(
|
||||
scaled_height * camera_dims[0] / camera_dims[1]
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user