From 92e26d03260e325fb00595160da13ddb3551c6a0 Mon Sep 17 00:00:00 2001 From: Somdev Sangwan Date: Wed, 31 May 2023 20:32:48 +0530 Subject: [PATCH] more confidence --- run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.py b/run.py index 7e08b01..b919aa2 100644 --- a/run.py +++ b/run.py @@ -91,7 +91,7 @@ def start_processing(): start_time = time.time() threshold = len(['frame_args']) if len(args['frame_paths']) <= 10 else 10 for i in range(threshold): - if face_check(random.choice(args['frame_paths'])) > 0.7: + if face_check(random.choice(args['frame_paths'])) > 0.8: quit("[WARNING] Unable to determine location of the face in the target. Please make sure the target isn't wearing clothes matching to their skin.") if args['gpu']: process_video(args['source_img'], args["frame_paths"])