Skip to content

Commit

Permalink
Change a few default values
Browse files Browse the repository at this point in the history
  • Loading branch information
Agustín Castro committed Feb 8, 2024
1 parent d23466b commit ce4aec6
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions demos/multi_camera/demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,12 +192,12 @@ def run():
"--confidence-threshold",
type=float,
help="Confidence threshold of detections",
default=0.15,
default=0.2,
)
parser.add_argument(
"--iou-threshold",
type=float,
default=0.6,
default=0.4,
help="Max IoU to consider when matching detections and tracked objects",
)
parser.add_argument(
Expand All @@ -209,19 +209,19 @@ def run():
parser.add_argument(
"--max-votes-grow",
type=int,
default=5,
default=3,
help="Amount of votes we need before increasing the size of a cluster",
)
parser.add_argument(
"--max-votes-split",
type=int,
default=5,
default=15,
help="Amount of votes we need before decreasing the size of a cluster",
)
parser.add_argument(
"--memory",
type=int,
default=3,
default=2,
help="How long into the past should we consider past clusters",
)
parser.add_argument(
Expand All @@ -233,7 +233,7 @@ def run():
parser.add_argument(
"--initialization-delay",
type=float,
default=3,
default=6,
help="Min detections needed to start the tracked object",
)
parser.add_argument(
Expand All @@ -243,7 +243,7 @@ def run():
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.15
"--nms-threshold", type=float, help="Iou threshold for detector", default=0.1
)
parser.add_argument(
"--image-size", type=int, help="Size of the images for detector", default=480
Expand Down

0 comments on commit ce4aec6

Please sign in to comment.