dont stop scanning when there are other regions

This commit is contained in:
Blake Blackshear 2022-02-05 07:20:29 -06:00
parent c6445898ce
commit e627f4e935

View File

@ -559,7 +559,7 @@ def process_frames(
] ]
# if starting up, get the next startup scan region # 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) ymin = int(frame_shape[0] / 3 * startup_scan_counter / 3)
ymax = int(frame_shape[0] / 3 + ymin) ymax = int(frame_shape[0] / 3 + ymin)
xmin = int(frame_shape[1] / 3 * startup_scan_counter / 3) xmin = int(frame_shape[1] / 3 * startup_scan_counter / 3)