**Deep-Stream-Cam** enables seamless real-time face swapping and video deepfakes with just a single image and a single click. Leverage AI to effortlessly transform video content in an instant and explore advanced visual effects.
This software aims to enhance the AI-generated media industry, supporting tasks like animating custom characters or creating digital models.
Important Notes:
- The software has built-in checks to prevent processing inappropriate media (e.g., nudity, war footage).
- Users must respect ethical guidelines and obtain consent when using real people's faces.
- The software may be modified or shut down if legally required.
For Windows / NVIDIA GPU:
For Mac / Apple Silicon:
These pre-built versions are ideal for non-technical users who want a quick setup. Manual installation is also available for advanced users.
- Select a face: Choose the face to swap.
- Choose your camera: Select the camera source.
- Press Live!: See the magic in real-time!
Note: Installation requires technical skills. For easier use, consider the pre-built versions.
Click for Installation Instructions
- Python 3.10 (recommended)
- pip
- git
- ffmpeg
- Visual Studio 2022 Runtimes (Windows)
- Clone the Repository
git clone https://github.com/hacksider/Deep-Live-Cam.git
cd Deep-Live-Cam
-
Download Models
Place these files in the
models
folder. -
Install Dependencies
pip install -r requirements.txt
- Run the Application
python run.py
For enhanced performance, use GPU acceleration for processing:
CUDA (NVIDIA GPU)
- Install CUDA Toolkit.
- Install dependencies:
pip uninstall onnxruntime onnxruntime-gpu
pip install onnxruntime-gpu==1.16.3
- Run the application:
python run.py --execution-provider cuda
CoreML (Apple Silicon)
- Install dependencies:
pip uninstall onnxruntime onnxruntime-silicon
pip install onnxruntime-silicon==1.13.1
- Run:
python run.py --execution-provider coreml
- Run
python run.py
. - Select source and target images/videos.
- Click "Start" to process.
- Run
python run.py
. - Choose source face image.
- Click "Live" to start webcam mode and preview.
- Stream with OBS or any screen capture tool.
Here’s a quick overview of the available command-line options:
-s SOURCE_PATH
: Select a source image.-t TARGET_PATH
: Choose a target image or video.--mouth-mask
: Use the mouth mask feature.--live-mirror
: Live camera mirror.-v, --version
: Show version info.
For full list, refer to the CLI documentation.
Deep-Stream-Cam has garnered attention for its groundbreaking AI-powered face-swapping capabilities:
- Ars Technica: "Deep-Live-Cam goes viral"
- PetaPixel: "Deepfake AI Tool Lets You Become Anyone in a Video Call"
- NewsBytes: "This free AI tool lets you become anyone during video-calls"
Thanks to the following contributors:
- ffmpeg: for video processing.
- deepinsight: for face detection models.
- havok2-htwo: for webcam integration.
- Special thanks to all contributors for their dedication and support.