mirror of
				https://github.com/blakeblackshear/frigate.git
				synced 2025-10-27 10:52:11 +01:00 
			
		
		
		
	Improve bird classification (#19009)
* Crop more tightly on bird * Add slight padding
This commit is contained in:
		
							parent
							
								
									4339f26ded
								
							
						
					
					
						commit
						6563f78ab0
					
				@ -109,7 +109,13 @@ class BirdRealTimeProcessor(RealTimeProcessorApi):
 | 
			
		||||
            obj_data["box"][1],
 | 
			
		||||
            obj_data["box"][2],
 | 
			
		||||
            obj_data["box"][3],
 | 
			
		||||
            224,
 | 
			
		||||
            int(
 | 
			
		||||
                max(
 | 
			
		||||
                    obj_data["box"][1] - obj_data["box"][0],
 | 
			
		||||
                    obj_data["box"][3] - obj_data["box"][2],
 | 
			
		||||
                )
 | 
			
		||||
                * 1.1
 | 
			
		||||
            ),
 | 
			
		||||
            1.0,
 | 
			
		||||
        )
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user