Open Sepideh-Rezaeirad opened 4 years ago
Hi,
You can just replace the cameraImg
in zad2.py with your own image. One way to do it might be to replace line 38 with:
cameraImg = cv2.imread(<path_to_your_image>)
and commenting-out line 45.
If instead of using a video from the camera you want to use a video file, you can do the following in line 36:
cap = cv2.VideoCapture(<path_to_you_video>)
Best regards,
Marek
Hi there,
can i swap two face from two image with zad2.py and without use of camera? i mean i have two image named im1 and im2, i want to swap face from these two image.
if i can do that using zad2, how?