Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
D

Deep-Live-Cam

> DevOps
Open source

real time face swap and one-click video deepfake with only a single image

95.5K stars0 likes11 views
WebsiteGitHub

About

real time face swap and one-click video deepfake with only a single image

Deep-Live-Cam 2.1.6

Real-time face swap and video deepfake with a single click and only a single image.

Disclaimer

This deepfake software is designed to be a productive tool for the AI-generated media industry. It can assist artists in animating custom characters, creating engaging content, and even using models for clothing design.

We are aware of the potential for unethical applications and are committed to preventative measures. A built-in check prevents the program from processing inappropriate media (nudity, graphic content, sensitive material like war footage, etc.). We will continue to develop this project responsibly, adhering to the law and ethics. We may shut down the project or add watermarks if legally required.

  • Ethical Use: Users are expected to use this software responsibly and legally. If using a real person's face, obtain their consent and clearly label any output as a deepfake when sharing online.

  • Content Restrictions: The software includes built-in checks to prevent processing inappropriate media, such as nudity, graphic content, or sensitive material.

  • Legal Compliance: We adhere to all relevant laws and ethical guidelines. If legally required, we may shut down the project or add watermarks to the output.

  • User Responsibility: We are not responsible for end-user actions. Users must ensure their use of the software aligns with ethical standards and legal requirements.

By using this software, you agree to these terms and commit to using it in a manner that respects the rights and dignity of others.

Users are expected to use this software responsibly and legally. If using a real person's face, obtain their consent and clearly label any output as a deepfake when sharing online. We are not responsible for end-user actions.

Pre-built Deep-Live-Cam 2.7.5 Ultimate!

       

Windows • Mac Silicon • CPU • NVIDIA • AMD

Builds optimized for your hardware.

Ultimate includes 30+ exclusive features, performance optimizations, and priority support We only have a single official website which is https://deeplivecam.net . Please be careful on where you download other versions of this application aside from that website and this github repo.

Perfect if you want the fastest setup with zero manual installation, pre-configured dependencies, and optimized builds for every supported platform.

TLDR; Live Deepfake in just 3 Clicks

  1. Select a face
  2. Select which camera to use
  3. Press live!

Features & Uses - Everything is in real-time

Mouth Mask

Retain your original mouth for accurate movement using Mouth Mask

Face Mapping

Use different faces on multiple subjects simultaneously

Your Movie, Your Face

Watch movies with any face in real-time

Live Show

Run Live shows and performances

Memes

Create Your Most Viral Meme Yet


Created using Many Faces feature in Deep-Live-Cam

Omegle

Surprise people on Omegle

Installation (Manual)

Please be aware that the installation requires technical skills and is not for beginners. Consider downloading the quickstart version.

Click to see the process

Installation

This is more likely to work on your computer but will be slower as it utilizes the CPU.

1. Set up Your Platform

  • Python (3.14 recommended; 3.11-3.14 supported)
  • pip
  • git
  • ffmpeg - iex (irm ffmpeg.tc.ht)
  • Visual Studio 2022 Runtimes (Windows)

2. Clone the Repository

bash
git clone --depth 1 https://github.com/hacksider/Deep-Live-Cam.git
cd Deep-Live-Cam

3. Download the Models

  1. gfpgan-1024.onnx
  2. inswapper_128_fp16.onnx

Place these files in the "models" folder.

4. Install Dependencies

We highly recommend using a venv to avoid issues.

For Windows:

bash
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt

For Linux:

bash
# Ensure you use the installed Python 3.14
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

For macOS:

Apple Silicon (M1 through M5) requires specific setup:

bash
# Install Python 3.14
brew install [email protected]

# Install tkinter package (required for the GUI)
brew install [email protected]

# Create and activate virtual environment with Python 3.14
python3.14 -m venv venv
source venv/bin/activate

# Install dependencies
pip install -r requirements.txt

** In case something goes wrong and you need to reinstall the virtual environment **

bash
# Deactivate the virtual environment
rm -rf venv

# Reinstall the virtual environment
python -m venv venv
source venv/bin/activate

# install the dependencies again
pip install -r requirements.txt

# gfpgan and basicsrs issue fix
pip install git+https://github.com/xinntao/BasicSR.git@master
pip uninstall gfpgan -y
pip install git+https://github.com/TencentARC/GFPGAN.git@master

Run: If you don't have a GPU, you can run Deep-Live-Cam using python run.py. Note that initial execution will download models (~300MB).

GPU Acceleration

CUDA Execution Provider (Nvidia)

  1. Install CUDA Toolkit 12.8.0
  2. Install cuDNN v8.9.7 for CUDA 12.x (required for onnxruntime-gpu):
    • Download cuDNN v8.9.7 for CUDA 12.x
    • Make sure the cuDNN bin directory is in your system PATH
  3. Install dependencies:
bash
pip install -U torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu128
pip uninstall onnxruntime onnxruntime-gpu
pip install onnxruntime-gpu==1.26.0
  1. Usage:
bash
python run.py --execution-provider cuda

CoreML Execution Provider (Apple Silicon)

Apple Silicon (M1 through M5) specific installation:

  1. Make sure you've completed the macOS setup above using Python 3.14.
  2. No extra install step is needed — requirements.txt pulls the official onnxruntime build, whose macOS wheels ship the CoreML execution provider. If you previously installed the unmaintained onnxruntime-silicon fork, remove it first, as it shadows the real package:
bash
pip uninstall onnxruntime-silicon
pip install -r requirements.txt
  1. Usage:
bash
python3.14 run.py --execution-provider coreml

Important Notes for macOS:

  • Python 3.11 is the minimum (onnxruntime dropped 3.10); 3.14 is recommended
  • Always run with python3.14 command not just python if you have multiple Python versions installed
  • If you get error about _tkinter missing, reinstall the tkinter package: brew reinstall [email protected]
  • If you get model loading errors, check that your models are in the correct folder
  • If you encounter conflicts with other Python versions, consider uninstalling them:
    bash
    # List all installed Python versions
    brew list | grep python
    
    # Uninstall conflicting versions if needed
    brew uninstall --ignore-dependencies [email protected]
    
    # Keep only Python 3.14
    brew cleanup

CoreML Execution Provider (Apple Legacy)

  1. Install dependencies:
bash
pip uninstall onnxruntime onnxruntime-coreml
pip install onnxruntime-coreml==1.21.0
  1. Usage:
bash
python run.py --execution-provider coreml

DirectML Execution Provider (Windows)

  1. Install dependencies:
bash
pip uninstall onnxruntime onnxruntime-directml
pip install onnxruntime-directml==1.21.0
  1. Usage:
bash
python run.py --execution-provider directml

OpenVINO™ Execution Provider (Intel)

  1. Install dependencies:
bash
pip uninstall onnxruntime onnxruntime-openvino
pip install onnxruntime-openvino==1.21.0

Note: onnxruntime-openvino newer than 1.21.0 must be installed together with openvino, and the two versions must correspond one-to-one. The supported pairings are:

onnxruntime-openvino OpenVINO
1.24.1 2025.4.1
1.23.0 2025.3
1.22.0 2025.1
bash
# Example: onnxruntime-openvino 1.24.1 pairs with OpenVINO 2025.4.1
pip install openvino==2025.4.1
pip install onnxruntime-openvino==1.24.1

See the OpenVINO Execution Provider requirements for the full version-mapping details.

  1. Usage:
bash
python run.py --execution-provider openvino

Usage

1. Image/Video Mode

  • Execute python run.py.
  • Choose a source face image and a target image/video.
  • Click "Start".
  • The output will be saved in a directory named after the target video.

2. Webcam Mode

  • Execute python run.py.
  • Select a source face image.
  • Click "Live".
  • Wait for the preview to appear (10-30 seconds).
  • Use a screen capture tool like OBS to stream.
  • To change the face, select a new source image.

Download all models in this huggingface link

  • Download models here

Command Line Arguments (Unmaintained)

…

Looking for a CLI mode? Using the -s/--source argument will make the run program in cli mode.

Press

  • Ars Technica - "Deep-Live-Cam goes viral, allowing anyone to become a digital doppelganger"
  • Yahoo! - "OK, this viral AI live stream software is truly terrifying"
  • CNN Brasil - "AI can clone faces on webcam; understand how it works"
  • Bloomberg Technoz - "Get to know Deep Live Cam technology, it can be used as a tool for deception."
  • TrendMicro - "AI vs AI: DeepFakes and eKYC"
  • PetaPixel - "Deepfake AI Tool Lets You Become Anyone in a Video Call With Single Photo"
  • SomeOrdinaryGamers - "That's Crazy, Oh God. That's Fucking Freaky Dude... That's So Wild Dude"
  • IShowSpeed - *"Alright look look look, now look chat, we can do any face we want to look like ch

Issues· 48 open

View all issuesOpen on GitHub
  • #1939

    t4ewe

    Updated Sep 19, 2026
  • #1895

    FACE SWAP NOT WORKING, BUT LOG SHOWS IT IS WORKING SUCCESSFULY.

    Updated Sep 17, 2026
  • #1816

    TypeError: process_frame() got an unexpected keyword argument 'detected_faces' when using GPEN-256 / GPEN-512 face enhancers in live webcam mode

    Updated Sep 7, 2026
  • #1640

    AttributeError: 'NoneType' object has no attribute 'shape'

    Updated Sep 3, 2026
  • #1765

    using python 3.11, still have error when installing on macOS going crazy lol

    Updated Aug 7, 2026
  • #1898

    Error parsing message with type 'onnx.ModelProto': Wire format was corrupt

    Updated Aug 4, 2026
  • #1890

    ssl._create_unverified_context() on macOS model download enables MITM model injection

    Updated Jul 29, 2026
  • #1887

    Mouth Mask broken

    Updated Jul 24, 2026
  • #1868

    GPU memory leak in _fast_paste_back causes CUBLAS_STATUS_NOT_INITIALIZED crash on long videos

    Updated Jul 10, 2026
  • #1788

    No module named 'cv2'

    Updated Jul 4, 2026

> Tags

Pythonaiai-deep-fakeai-faceai-webcam

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 29, 2026
CategoryDevOps
PricingOpen source

> Related tools

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理