Deep-Live-Cam is an open-source tool that can perform real-time face swapping and deepfake video creation with just a single image. The software can swap faces in both videos and live webcam streams. We will go into detail on how you can get started using Deep-Live-Cam below – we recommend first following the full installation guide over on the official GitHub repository. If you have a modern Nvidia GPU, we also highly recommend following the instructions to enable GPU acceleration – this makes the faceswap process much faster.
Using Deep-Live-Cam:
- Face Swapping:
- Launch the program using
python run.py
. - In the application window, select the source image (the face you want to use) and the target video or image.
- Click on “Start” to begin the face-swapping process. The output will be saved in a directory named after the video title.
- Launch the program using
- Webcam Mode:
- Choose a face and click “Live” to activate webcam mode.
- After a short delay (10-30 seconds), the face swap will appear in the preview.
- For streaming, use your favorite screen capture software, such as OBS.
- Changing Faces in Real-Time:
- If you want to change the face in real-time, simply select a new image. The preview will restart, and the new face will be applied.
Tips for Best Results:
- High-Quality Source Images: Use high-resolution images for better face swap quality.
- Lighting and Angle: Ensure that the lighting and angle of the source face match the target video for a more seamless swap.
- Use a GPU: If possible, use GPU acceleration for faster processing, especially with large videos.