How to install iRoopDeepFaceCam on macOS? | iRoopDeepFaceCam on MacOS
Here is how you can install iRoopDeepFaceCam on your MacBook. We will be installing iRoopDeepFaceCam from the GitHub repository. It’s more or less like DeepLiveCam but has more added features like mouth mask and all.
To install this, we will be using Anaconda. For those who do not have Anaconda, simply download and install Anaconda from the official Anaconda website. After this is done, go back to the GitHub page and download the Code. You will also need to download the models — GFPGAN and also the inswapper. Download the two models and place them in the models folder inside the iRoopDeepFaceCam folder.
Now open the terminal and create the Python environment. Please note that you must have Anaconda installed to use Conda on Terminal. Anyway, type:
conda create –name iRoopDeepFaceCam python=3.10
This will install Python 3.10. Then activate the env with conda activate iRoopDeepFaceCam. You will see the base name will change to iRoopDeepFaceCam. Now navigate to the iRoopDeepFaceCam folder using cd Path_to_Folder. Now type pip install -r requirements.txt. This will install all the required dependencies to run iRoopDeepFaceCam. After this is done, install FFMPEG using conda install FFMPEG. And finally, install onnxruntime, so type pip install onnxruntime. Now everything has been set up.
To run the application, type python run.py. This will take some time to load. Here you can upload a photo or video to swap faces. To use the live cam feature, upload a photo and click on Live.
If you want to reopen the application after closing it, right-click on the iRoopDeepFaceCam folder and click on New Terminal at Folder. Make sure to activate the env: conda activate iRoopDeepFaceCam. You will see the change in the base name, and now simply run python run.py. And the application will run.
We really hope this video was useful to you. Thank you very much.
STEPS:
Installing Anaconda
1. Download and Install anaconda (https://www.anaconda.com/)
2. Open Terminal
Installing Python 3.10 and Activating
1. conda create –name iRoopDeepFaceCam python=3.10
2. conda activate iRoopDeepFaceCam
Install all Dependencies
1. cd To_Your_Folder
2. pip install -r requirements.txt
3. pip install onnxruntime
4. conda install ffmpeg
Run the application
1. python run.py