ai-forever / ghost

A new one shot face swap approach for image and video domains

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multiple Faces - Question

Marvineku opened this issue · comments

Hi, I have a big favor to ask
I'm using 'Ghost' in 'Google Colab Demo' , and I very want use the option "multiple faces". I just found a guide:

Swap to many person in the video. You must set multiple faces for source and the corresponding multiple faces from the target video.

python inference.py --source_paths {PATH_TO_IMAGE PATH_TO_IMAGE ...} --target_faces_paths {PATH_TO_IMAGE PATH_TO_IMAGE ...} --target_video {PATH_TO_VIDEO}

Can anyone help me and tell me how to enable this option in google colab ? and how to save in 'result_multi.mp4' ? there is a example video in 'examples'

I'm a noob and I have no idea how to write it myself, best regards