SizheAn / PanoHead

Code Repository for CVPR 2023 Paper "PanoHead: Geometry-Aware 3D Full-Head Synthesis in 360 degree"
Creative Commons Zero v1.0 Universal
1.92k stars 238 forks source link

Gradio interface #41

Open bananaman1983 opened 1 year ago

bananaman1983 commented 1 year ago

image

Very basic implementation of gradio interface

Properly working installation of 3DDFA_V2 is required

  1. contents of the 3DDFA_V2_cropping/ should be copied to the 3DDFA_V2 root. shape_predictor_68_face_landmarks.dat should be ready too
  2. line 15 of gradiodemo.py should be properly modified to reference the 3DDFA_V2 root folder( path_3DDFA = "E:/3DDFA_V2-master/")
  3. post.mp4 and post.ply outputs are stored separately under the 'out/' folder with 6-digit random numeric serials(no duplicate checks, files may get overwritten if crammed)

Implemented fixes from the camenduru and the hack-mans repo