소스 검색

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)