iperov / DeepFaceLive

Real-time face swap for PC streaming or video calls
GNU General Public License v3.0
26.66k stars 4.57k forks source link

Use DeepFaceLive's dfm model from the command line to instantly swap faces in any video file #51

Closed tradenity closed 2 years ago

tradenity commented 2 years ago

Hi

I'd like to know if there is a python script or example code that can invoke DeepFaceLive from the command line. I Know that this functionality is available in deepfacelab but as far as I know deepfacelive has 2 main advantages: 1- It can work with any target video 2- It is real time fast (30 fps is possible)

So I'd like to know how to load dfm model and point deepfacelive to a video file to instantly convert it. Is there any script (python of course) or example code that can do this

Thanks

iperov commented 2 years ago

https://github.com/iperov/DeepFaceLive/blob/master/doc/user_faq/user_faq.md#i-want-to-have-more-control-when-changing-faces-in-a-video-will-the-new-functionality-be-implemented