Explorar o código

Script for selecting the specific person to be swapped in video swapping

NNNNAI %!s(int64=4) %!d(string=hai) anos
pai
achega
46eabee785
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      test_wholeimage_swapspecific.py

+ 1 - 1
test_wholeimage_swapspecific.py

@@ -48,7 +48,7 @@ if __name__ == '__main__':
 
 
     app = Face_detect_crop(name='antelope', root='./insightface_func/models')
-    app.prepare(ctx_id= 0, det_thresh=0.8, det_size=(640,640))
+    app.prepare(ctx_id= 0, det_thresh=0.6, det_size=(640,640))
 
     pic_a = opt.pic_a_path
     pic_specific = opt.pic_specific_path