Based on the First Order Motion Model for Image Animation, this code is forked from their wonderful code repository.
In order to run in real-time, you need a GTX 1060 or above in order to go above 20 FPS and look somewhat decent. This repo was tested on a GTX 1060 6gb and it worked at 20-25 FPS.
You also must be running on Linux if you want to use a live webcam. We do not have a cross-platform way of having virtual webcams, but you can help.
- As root (which is not advised, but do what you want), do what you do on every other Python repo:
sudo pip3 install -r requirements.txt
- Make a new folder called
REPO
and put the vox model checkpoints in there (downloadvox-cpk.pth.tar
andvox-adv-cpk.pth.tar
and move them in there) - Install and load the v4l2loopback kernel module for your distro
- Create a fake webcam device. Instructions can be found in v4l2loopback's documentation
- Edit
webcam.py
to point to the proper input and output webcams - Run
webcam.py
as root, unless you have permissions set up nicely - Show up to Zoom meetings