Deepfake + Virtual Webcam Setup on Apple Silicon Mac

Wanna try deepfake with your webcam on Mac? In this tutorial, I’ll show you how to run Deep-Live-Cam on Mac with Apple Silicon (M1/M2/M3). We’ll use Python, set up the virtual camera with OBS, and make it work with Omegle or other video platforms. Just follow step by step, no stress, it’s beginner friendly. Faiyaaa🔥

⚙️ Installation

  1. Install Python 3.10 (Stable Version), download from the official website:
    https://www.python.org/downloads/macos/
  2. Install FFmpeg:
    brew install ffmpeg
  3. Download the Deep-Live-Cam Repository:
    git clone https://github.com/hacksider/Deep-Live-Cam.git
    cd Deep-Live-Cam
  4. Download the Model Files:
    cd models/
    wget https://huggingface.co/hacksider/deep-live-cam/resolve/main/GFPGANv1.4.pth 
    wget https://huggingface.co/hacksider/deep-live-cam/resolve/main/inswapper_128_fp16.onnx
  5. Create a Python Virtual Environment:
    python3.10 -m venv venv
    source venv/bin/activate
  6. Install Deep-Live-Cam Requirements:
    pip3.10 install -r requirements.txt
  7. Install CoreML Execution Provider:
    pip3.10 uninstall onnxruntime onnxruntime-silicon
    pip3.10 install onnxruntime-silicon==1.13.1
  8. Run Deep-Live-Cam:
    python3.10 run.py --execution-provider coreml

 🥸 Usage

  1. Click Select a face and upload an image of Jokowi's face.
  2. Click Select a target and upload your own selfie.
  3. Click Live to startvoilà! ✨ A new camera window will appear showing you with Jokowi's face.

🪩 Set up OBS Studio

  1. Install OBS Studio for Mac (M1):
    https://obsproject.com
  2. Click + under Sources
  3. Select Window Capture.
  4. Choose the Python Preview window as the source.
  5. Click Start Virtual Camera to begin.

🏄‍♂️ Connect with Browser 

  1. Open Omegle in your browser.
  2. Select OBS Virtual Camera as your video source 🔥

 

 

 

Comments

Popular posts from this blog

TP-Link AC600 Archer T2U Plus Driver for Kali Linux on Macbook (Apple Silicon)

Mastering OWASP Risk Rating