From c916e9bf031333a6d3d08aa22f9813f0e81e4e7d Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Wed, 21 Sep 2022 07:30:47 -0600 Subject: [PATCH] Due to the -1, it may be negative --- frigate/video.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/video.py b/frigate/video.py index ed466026c..4b0fb3342 100755 --- a/frigate/video.py +++ b/frigate/video.py @@ -464,7 +464,7 @@ def detect( area = width * height # ignore objects that were detected outside the frame - if height == 0: + if height <= 0: continue ratio = width / height