From ae49965ebb3b68bb43f2e2f45dcba566580a15fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Agust=C3=ADn=20Castro?= Date: Thu, 8 Feb 2024 04:24:20 -0300 Subject: [PATCH] Change a few default parameters --- demos/multi_camera/demo.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/demos/multi_camera/demo.py b/demos/multi_camera/demo.py index 27ee8a11..e257b88b 100644 --- a/demos/multi_camera/demo.py +++ b/demos/multi_camera/demo.py @@ -197,8 +197,8 @@ def run(): parser.add_argument( "--iou-threshold", type=float, - default=0.4, - help="Max IoU to consider when matching detections and tracked objects", + default=0.5, + help="Max '1-IoU' to consider when matching detections and tracked objects", ) parser.add_argument( "--distance-threshold", @@ -209,7 +209,7 @@ def run(): parser.add_argument( "--max-votes-grow", type=int, - default=3, + default=4, help="Amount of votes we need before increasing the size of a cluster", ) parser.add_argument( @@ -239,11 +239,11 @@ def run(): parser.add_argument( "--hit-counter-max", type=int, - default=30, + default=20, help="Max iteration the tracked object is kept after when there are no detections", ) parser.add_argument( - "--nms-threshold", type=float, help="Iou threshold for detector", default=0.1 + "--nms-threshold", type=float, help="Iou threshold for detector", default=0.15 ) parser.add_argument( "--image-size", type=int, help="Size of the images for detector", default=480