Преглед на файлове

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)