From 3f85a44f1396df7116c6c798a88c98047d5abcdb Mon Sep 17 00:00:00 2001 From: Emiliana <38952746+emilianavt@users.noreply.github.com> Date: Wed, 25 Mar 2020 22:57:13 +0100 Subject: [PATCH] Slightly higher threshold. --- facetracker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/facetracker.py b/facetracker.py index 6959815..ff538f1 100644 --- a/facetracker.py +++ b/facetracker.py @@ -16,7 +16,7 @@ else: parser.add_argument("-H", "--height", type=int, help="Set raw RGB height", default=360) parser.add_argument("-c", "--capture", help="Set camera ID (0, 1...) or video file", default="0") parser.add_argument("-m", "--max-threads", type=int, help="Set the maximum number of threads", default=1) -parser.add_argument("-t", "--threshold", type=float, help="Set minimum confidence threshold for face detection", default=0.6) +parser.add_argument("-t", "--threshold", type=float, help="Set minimum confidence threshold for face detection", default=0.65) parser.add_argument("-v", "--visualize", type=int, help="Set this to 1 to visualize the tracking, to 2 to also show face ids, to 3 to add confidence values or to 4 to add numbers to the point display", default=0) parser.add_argument("-P", "--pnp-points", type=int, help="Set this to 1 to add the 3D fitting points to the visualization", default=0) parser.add_argument("-s", "--silent", type=int, help="Set this to 1 to prevent text output on the console", default=0)