mirror of
				https://github.com/blakeblackshear/frigate.git
				synced 2025-10-27 10:52:11 +01:00 
			
		
		
		
	add some comments for regions
This commit is contained in:
		
							parent
							
								
									297e2f1c0c
								
							
						
					
					
						commit
						f148eb5a7b
					
				@ -61,6 +61,16 @@ cameras:
 | 
				
			|||||||
    ################
 | 
					    ################
 | 
				
			||||||
    # ffmpeg_output_args: []
 | 
					    # ffmpeg_output_args: []
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
 | 
					    ################
 | 
				
			||||||
 | 
					    # size: size of the region in pixels
 | 
				
			||||||
 | 
					    # x_offset/y_offset: position of the upper left corner of your region (top left of image is 0,0)
 | 
				
			||||||
 | 
					    # min_person_area: minimum width*height of the bounding box for the detected person
 | 
				
			||||||
 | 
					    # max_person_area: maximum width*height of the bounding box for the detected person
 | 
				
			||||||
 | 
					    # threshold: The minimum decimal percentage (50% hit = 0.5) for the confidence from tensorflow
 | 
				
			||||||
 | 
					    # Tips: All regions are resized to 300x300 before detection because the model is trained on that size.
 | 
				
			||||||
 | 
					    #       Resizing regions takes CPU power. Ideally, all regions should be as close to 300x300 as possible.
 | 
				
			||||||
 | 
					    #       Defining a region that goes outside the bounds of the image will result in errors.
 | 
				
			||||||
 | 
					    ################
 | 
				
			||||||
    regions:
 | 
					    regions:
 | 
				
			||||||
      - size: 350
 | 
					      - size: 350
 | 
				
			||||||
        x_offset: 0
 | 
					        x_offset: 0
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user