浏览代码

dont stop scanning when there are other regions

Blake Blackshear 3 年之前
父节点
当前提交
e627f4e935
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      frigate/video.py

+ 1 - 1
frigate/video.py

@@ -559,7 +559,7 @@ def process_frames(
         ]
 
         # if starting up, get the next startup scan region
-        if startup_scan_counter < 9 and len(regions) == 0:
+        if startup_scan_counter < 9:
             ymin = int(frame_shape[0] / 3 * startup_scan_counter / 3)
             ymax = int(frame_shape[0] / 3 + ymin)
             xmin = int(frame_shape[1] / 3 * startup_scan_counter / 3)