You can swap your face from a webcam or the face in the video using trained face models in UnrealEngine. This plugin is based on Face Swap(DFM) and implements a complete face swapping workflow in Unreal Engine using C++ and ONNXRuntime with DirectML(DX12) and Compute Shader. Therefore, it offers better performance than DeepFaceLive.
This plugin includes all the source code but does not provide face-swapping models. You can download test models from DeepFaceLive or train new models using DeepFaceLab.
https://github.com/iperov/DeepFaceLive
https://github.com/iperov/DeepFaceLab
Currently, only Windows operating system and DirectX12 are supported. I'm in the process of ongoing refactoring and optimizing the effects.
Before you begin, ensure that your system meets the following requirements:
- Operating System: Windows 10/11
- Processor: Intel Core i7 or equivalent
- Memory (RAM): 16 GB or more
- Graphics: Any graphics card that supports DirectX12.
Choose a face from the table below that you'd like to replace, and then download the corresponding DFM model.
This is a package built from the current Unreal Engine project. DeepFaceLiveShowcase_Dev_DX12_SM5&6.zip https://drive.google.com/file/d/1DuUYggx2OjEzrHJstRE3ALiMv9To3Ahc/view?usp=sharing
https://www.unrealengine.com/marketplace/en-US/product/deep-face-live
You can purchase the source code of the Deep Face Live plugin from the link above and then place it in the Plugins directory of the current demo project.
If you encounter issues while using Deep Face Live, or for technical assistance and inquiries, please contact our support team at alan.liuhongliang@gmail.com.