Anustup commited on
Commit
2de513c
·
verified ·
1 Parent(s): 135150b

Update texture_transfer.py

Browse files
Files changed (1) hide show
  1. texture_transfer.py +2 -1
texture_transfer.py CHANGED
@@ -68,4 +68,5 @@ def paste_image(base_image_path, cutout_image_path, mask_path):
68
  background_masked = (background_np * (1 - cutout_alpha_np[..., np.newaxis])).astype(np.uint8)
69
  result_np = cutout_masked + background_masked
70
  result = Image.fromarray(result_np)
71
- result.save('result.png')
 
 
68
  background_masked = (background_np * (1 - cutout_alpha_np[..., np.newaxis])).astype(np.uint8)
69
  result_np = cutout_masked + background_masked
70
  result = Image.fromarray(result_np)
71
+ result.save('result.png')
72
+