Skip to content

Minjun-KANG/Wav2Lip_Windows_GUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wav2Lip_Windows_GUI: Program Using PyQT5

This is a capstone work of Y2X majoring in electronics and communication engineering at Kwangwoon University in South Korea.


Y2X

  • Program


Topic

  • The Wav2Lip used by this program can be found here.
  • 만약 한국어 분석자료가 필요하다면 여기를 통해 각 소스코드에 주석을 확인하세요. 추가적으로 코드분석은 블로그에서 확인할 수 있습니다.
  • Windows 10 Home support.
  • Recommended operation for .avi and .wav files.
  • I used the screen resolution 1920 * 1080.
  • python version 3.8.8 (default, Apr 13 2021, 15:08:03) [MSC v.1916 64 bit (AMD64)]
  • conda 4.10.1

Preparations


Problem

  • Problem

GUI Layout

  • Layout

  • By color, the variable names begin with a, b, c, d, e, and f. (green is a)

icon

  • My friend made icon in 10 seconds.


File Hierarchy

root
│ requirements.txt
│ result.avi

├─input
│ audio.wav
│ video.avi

├─resource
│ icon.ico
│ icon.png
│ icon2.png
│ icon3.png

├─src
│ │ e2_timeSelect.py
│ │ e3_faceRecognition.py
│ │ e5_Help.py
│ │ face_classifier.py
│ │ main.py
│ │ person_db.py
│ │
│ ├─Wav2Lip
│ │ │ .gitignore
│ │ │ audio.py
│ │ │ color_syncnet_train.py
│ │ │ hparams.py
│ │ │ hq_wav2lip_train.py
│ │ │ inference.py
│ │ │ preprocess.py
│ │ │ README.md
│ │ │ requirements.txt
│ │ │ wav2lip_train.py
│ │ │ init.py
│ │ │
│ │ ├─checkpoints
│ │ │ .gitattributes
│ │ │ README.md
│ │ │ wav2lip_gan.pth
│ │ │
│ │ ├─evaluation
│ │ │ │ gen_videos_from_filelist.py
│ │ │ │ README.md
│ │ │ │ real_videos_inference.py
│ │ │ │
│ │ │ ├─scores_LSE
│ │ │ │ calculate_scores_LRS.py
│ │ │ │ calculate_scores_real_videos.py
│ │ │ │ calculate_scores_real_videos.sh
│ │ │ │ SyncNetInstance_calc_scores.py
│ │ │ │
│ │ │ └─test_filelists
│ │ │ │ lrs2.txt
│ │ │ │ lrs3.txt
│ │ │ │ lrw.txt
│ │ │ │ README.md
│ │ │ │
│ │ │ └─ReSyncED
│ │ │ random_pairs.txt
│ │ │ tts_pairs.txt
│ │ │
│ │ ├─face_detection
│ │ │ │ api.py
│ │ │ │ models.py
│ │ │ │ README.md
│ │ │ │ utils.py
│ │ │ │ init.py
│ │ │ │
│ │ │ ├─detection
│ │ │ │ │ core.py
│ │ │ │ │ init.py
│ │ │ │ │
│ │ │ │ ├─sfd
│ │ │ │ │ │ bbox.py
│ │ │ │ │ │ detect.py
│ │ │ │ │ │ net_s3fd.py
│ │ │ │ │ │ s3fd.pth
│ │ │ │ │ │ sfd_detector.py
│ │ │ │ │ │ init.py
│ │ │ │ │ │
│ │ │ │ │ └─__pycache__
│ │ │ │ │ bbox.cpython-38.pyc
│ │ │ │ │ detect.cpython-38.pyc
│ │ │ │ │ net_s3fd.cpython-38.pyc
│ │ │ │ │ sfd_detector.cpython-38.pyc
│ │ │ │ │ init.cpython-38.pyc
│ │ │ │ │
│ │ │ │ └─__pycache__
│ │ │ │ core.cpython-38.pyc
│ │ │ │ init.cpython-38.pyc
│ │ │ │
│ │ │ └─__pycache__
│ │ │ api.cpython-38.pyc
│ │ │ models.cpython-38.pyc
│ │ │ utils.cpython-38.pyc
│ │ │ init.cpython-38.pyc
│ │ │
│ │ ├─filelists
│ │ │ README.md
│ │ │
│ │ ├─models
│ │ │ │ conv.py
│ │ │ │ syncnet.py
│ │ │ │ wav2lip.py
│ │ │ │ init.py
│ │ │ │
│ │ │ └─__pycache__
│ │ │ conv.cpython-38.pyc
│ │ │ syncnet.cpython-38.pyc
│ │ │ wav2lip.cpython-38.pyc
│ │ │ init.cpython-38.pyc
│ │ │
│ │ ├─results
│ │ │ README.md
│ │ │
│ │ ├─temp
│ │ │ README.md
│ │ │ result.avi
│ │ │
│ │ └─__pycache__
│ │ audio.cpython-38.pyc
│ │ hparams.cpython-38.pyc
│ │ inference.cpython-38.pyc
│ │ init.cpython-38.pyc
│ │
│ └─__pycache__
│ e2_timeSelect.cpython-38.pyc
│ e3_faceRecognition.cpython-38.pyc
│ e5_Help.cpython-38.pyc
│ popup.cpython-38.pyc
│ roi.cpython-38.pyc
│ VideoCropDialog.cpython-38.pyc

└─temp
  │ faulty_frame.jpg
  │ original.wav
  │ result.avi
  │
  └─Multi
  │ person_div.jpg
  │
  ├─A
  │ 1.jpg
  │
  └─B
  1.jpg

About

Wav2Lip model Windows GUI Program using PyQT5

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published