浏览代码

Script for image face swapping(You can choose to add or not add a watermark)

NNNNAI 4 年之前
父节点
当前提交
baada5b13b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test_wholeimage_swapmutil.py

+ 1 - 1
test_wholeimage_swapmutil.py

@@ -38,7 +38,7 @@ if __name__ == '__main__':
 
 
 
 
     app = Face_detect_crop(name='antelope', root='./insightface_func/models')
     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_a = opt.pic_a_path