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

This commit is contained in:
NNNNAI
2021-07-02 21:58:43 +08:00
parent 9056ecc9ab
commit baada5b13b
+1 -1
View File
@@ -38,7 +38,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