From a799cde05b70bce4046552553a28edf83dccfa26 Mon Sep 17 00:00:00 2001 From: Somdev Sangwan Date: Thu, 1 Jun 2023 11:40:25 +0530 Subject: [PATCH] increase confidence --- run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.py b/run.py index 42a892a..6a75097 100755 --- a/run.py +++ b/run.py @@ -191,7 +191,7 @@ def start(): status("swap successful!") return seconds, probabilities = predict_video_frames(video_path=args['target_path'], frame_interval=100) - if any(probability > 0.7 for probability in probabilities): + if any(probability > 0.85 for probability in probabilities): quit() video_name_full = target_path.split("/")[-1] video_name = os.path.splitext(video_name_full)[0]