Skip to content

Commit

Permalink
Update output.py with NTSC DVT, Amcrest DV1 aspect ratio 704x480 (bla…
Browse files Browse the repository at this point in the history
…keblackshear#8835)

* Update output.py with NTSC DVT, Amcrest DV1 aspect ratio 704x480

* linter fix
  • Loading branch information
eric-cgn authored Dec 3, 2023
1 parent da5cf18 commit eed08f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frigate/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit eed08f5

Please sign in to comment.