Skip to content

NVR with realtime local object detection for IP cameras

Update output.py with NTSC DVT, Amcrest DV1 aspect ratio 704x480 (#8835)

Eric Meed08f534f88
diff --git a/frigate/output.py b/frigate/output.py
index 5d8013d2e9..a70e5a8049 100644
--- a/frigate/output.py
+++ b/frigate/output.py
@@ -45,6 +45,7 @@ def get_standard_aspect_ratio(width: int, height: int) -> tuple[int, int]:
(32, 9), # panoramic cameras
(12, 9),
(9, 12),
+ (22, 15), # Amcrest, NTSC DVT
] # aspects are scaled to have common relative size
known_aspects_ratios = list(
map(lambda aspect: aspect[0] / aspect[1], known_aspects)