From 5a46c3638059ce37913bbc386e03b3072dd459ce Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Thu, 26 Oct 2023 05:21:26 -0600 Subject: [PATCH] Add other known birdseye aspect ratios (#8322) * Add other known birdseye aspect ratios * Formatting --- frigate/output.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frigate/output.py b/frigate/output.py index df0bd9f76..166389cd6 100644 --- a/frigate/output.py +++ b/frigate/output.py @@ -39,7 +39,9 @@ def get_standard_aspect_ratio(width: int, height: int) -> tuple[int, int]: known_aspects = [ (16, 9), (9, 16), - (32, 9), + (2, 1), + (8, 3), # reolink duo 2 + (32, 9), # panoramic cameras (12, 9), (9, 12), ] # aspects are scaled to have common relative size