Skip to content

Commit

Permalink
more confidence
Browse files Browse the repository at this point in the history
  • Loading branch information
s0md3v committed May 31, 2023
1 parent 1326df0 commit 92e26d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"])
Expand Down

0 comments on commit 92e26d0

Please sign in to comment.