mirror of
				https://github.com/blakeblackshear/frigate.git
				synced 2025-10-27 10:52:11 +01:00 
			
		
		
		
	dont stop scanning when there are other regions
This commit is contained in:
		
							parent
							
								
									c6445898ce
								
							
						
					
					
						commit
						e627f4e935
					
				@ -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)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user