simswapping multiple images in a folder #356
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Does anyone know how this can be done in the test_one_image.py file ? i have been running this script in .ipynb
!cd SimSwap & python test_one_image.py
--no_simswaplogo
--crop_size 224
--name people
--Arc_path arcface_model/arcface_checkpoint.tar
--pic_a_path crop_224/b5.jpg
--pic_b_path crop_224/2.jpg
--output_path output/
is there a way that i can change pic_b_path to loop through all the images while having b5.jpg as constant ?
The only solution I've found is to make an mp4 video of all the images in a folder, run it through as a video, and then use ffmpeg to extract the frames from the video to get the result. Unfortunately, it results in compression artifacts, but they're not so bad.