瀏覽代碼

Script for image face swapping

Script for image face swapping
NNNNAI 4 年之前
父節點
當前提交
94f7e9afe6
共有 2 個文件被更改,包括 0 次插入2 次删除
  1. 0 1
      test_wholeimage_swapmutil.py
  2. 0 1
      test_wholeimage_swapsingle.py

+ 0 - 1
test_wholeimage_swapmutil.py

@@ -61,7 +61,6 @@ if __name__ == '__main__':
 
     pic_b = opt.pic_b_path
     img_b_whole = cv2.imread(pic_b)
-    img_b_align_crop, b_mat = app.get(img_b_whole,crop_size)
 
     img_b_align_crop_list, b_mat_list = app.get(img_b_whole,crop_size)
     # detect_results = None

+ 0 - 1
test_wholeimage_swapsingle.py

@@ -60,7 +60,6 @@ if __name__ == '__main__':
 
     pic_b = opt.pic_b_path
     img_b_whole = cv2.imread(pic_b)
-    img_b_align_crop, b_mat = app.get(img_b_whole,crop_size)
 
     img_b_align_crop_list, b_mat_list = app.get(img_b_whole,crop_size)
     # detect_results = None