From 194baaeb56fed898a1a9c691cbade1ceb0975d19 Mon Sep 17 00:00:00 2001 From: Blake Blackshear Date: Sat, 8 Aug 2020 20:58:54 -0500 Subject: [PATCH] fix example config --- config/config.example.yml | 52 +++++++++++++++++++-------------------- 1 file changed, 25 insertions(+), 27 deletions(-) diff --git a/config/config.example.yml b/config/config.example.yml index e600d1aa47..7f08d594f9 100644 --- a/config/config.example.yml +++ b/config/config.example.yml @@ -73,34 +73,32 @@ zones: # Name of the zone ################ front_steps: - cameras: - front_door: - #################### - # For each camera, a list of x,y coordinates to define the polygon of the zone. The top - # left corner is 0,0. Can also be a comma separated string of all x,y coordinates combined. - # The same zone can exist across multiple cameras if they have overlapping FOVs. - # An object is determined to be in the zone based on whether or not the bottom center - # of it's bounding box is within the polygon. The polygon must have at least 3 points. - # Coordinates can be generated at https://www.image-map.net/ - #################### - coordinates: - - 545,1077 - - 747,939 - - 788,805 - ################ - # Zone level object filters. These are applied in addition to the global and camera filters - # and should be more restrictive than the global and camera filters. The global and camera - # filters are applied upstream. - ################ - filters: - person: - min_area: 5000 - max_area: 100000 - threshold: 0.8 + front_door: + #################### + # For each camera, a list of x,y coordinates to define the polygon of the zone. The top + # left corner is 0,0. Can also be a comma separated string of all x,y coordinates combined. + # The same zone can exist across multiple cameras if they have overlapping FOVs. + # An object is determined to be in the zone based on whether or not the bottom center + # of it's bounding box is within the polygon. The polygon must have at least 3 points. + # Coordinates can be generated at https://www.image-map.net/ + #################### + coordinates: + - 545,1077 + - 747,939 + - 788,805 + ################ + # Zone level object filters. These are applied in addition to the global and camera filters + # and should be more restrictive than the global and camera filters. The global and camera + # filters are applied upstream. + ################ + filters: + person: + min_area: 5000 + max_area: 100000 + threshold: 0.8 driveway: - cameras: - front_door: - coordinates: 545,1077,747,939,788,805 + front_door: + coordinates: 545,1077,747,939,788,805 yard: cameras: