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
- Install Python 3.10 (Stable Version), download from the official website:
https://www.python.org/downloads/macos/ - Install FFmpeg:
brew install ffmpeg - Download the Deep-Live-Cam Repository:
git clone https://github.com/hacksider/Deep-Live-Cam.git
cd Deep-Live-Cam - 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 - Create a Python Virtual Environment:
python3.10 -m venv venv
source venv/bin/activate - Install Deep-Live-Cam Requirements:
pip3.10 install -r requirements.txt - Install CoreML Execution Provider:
pip3.10 uninstall onnxruntime onnxruntime-silicon
pip3.10 install onnxruntime-silicon==1.13.1 - Run Deep-Live-Cam:
python3.10 run.py --execution-provider coreml
🥸 Usage
- Click Select a face and upload an image of Jokowi's face.
- Click Select a target and upload your own selfie.
- Click Live to start, voilà! ✨ A new camera window will appear showing you with Jokowi's face.
🪩 Set up OBS Studio
- Install OBS Studio for Mac (M1):
https://obsproject.com - Click + under Sources
- Select Window Capture.
- Choose the Python Preview window as the source.
- Click Start Virtual Camera to begin.
🏄♂️ Connect with Browser
- Open Omegle in your browser.
- Select OBS Virtual Camera as your video source 🔥



Comments
Post a Comment