Skip to content

susan31213/LipSync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LipSync

Sync Lip in Unity by Wav2Lip.

Demo Video

LipSync Demo Video

Prerequisites

  • Anaconda
  • (if you want to excute AR Mask mode) Unity 2019.4

Dependencies

  • In Anaconda Prompt, create an environment by:
    conda env create -f Server/wav2lip_conda.yml

Usage

Server

  • After installing Wav2Lip enviornment in Anaconda, activate wav2lip environment in Anaconda Prompt
    conda activate wav2lip
    
  • Start server with a Wav2Lip checkpoint file
    python server.py --checkpoint_path Wav2Lip\checkpoints\wav2lip_gan.pth
    You can also use different checkpoint in Server/Wav2Lip/checkpoints.
  • Wait for predicting predefine faces.

Client

  • Win 10 binary: Download
  • To excute audio only mode, excute LipSyncUnity/Build/Mask.exe.
  • To excute AR mask mode, open Unity and play this scene: Scenes/MaskAR.
  • Choose the microphone you are using, and click Start Record button.
  • Change face by clicking the button on the right hand side.

About

Sync Lip in Unity by Wav2Lip

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors