yfeng95 / PRNet

Joint 3D Face Reconstruction and Dense Alignment with Position Map Regression Network (ECCV 2018)
http://openaccess.thecvf.com/content_ECCV_2018/papers/Yao_Feng_Joint_3D_Face_ECCV_2018_paper.pdf
MIT License
4.95k stars 947 forks source link

printing the dense alignment images in readme #18

Open kaisark opened 6 years ago

kaisark commented 6 years ago

Very cool project. This request may be similar to issue 10. Is there a way to print the Dense alignment images (yellow + blue=green) shown in the readme? Is Matlab (not free) required?

"Simply use: imshow(image);
hold on;
pcshow(vertices);
view(2);"

Also (btw), I have seen haar cascades combined with dlib for facial detection speedups:

path = "classifiers/haarcascade_frontalface_default.xml" # detector = dlib.get_frontal_face_detector() detector = cv2.CascadeClassifier(path) predictor = dlib.shape_predictor(args["shape_predictor"])

photo on 4-28-18 at 12 00 am screenshot from 2018-04-28 00-39-17 screenshot from 2018-04-28 00-39-38 screenshot from 2018-04-28 00-39-53 ezgif com-video-to-gif

yfeng95 commented 6 years ago

Hi,

  1. Matlab is needed if you want to plot Dense alignment shown in the readme. Maybe some packages in python can also do this, you can try.
  2. About the face detector, the accuracy and speed are two important factors. I choose dlib due to its convenience, you can switch to others that satisfy your demands(like haar cascades has a higher speed and mtcnn has a higher accuracy). Thanks for your reporting!
kaisark commented 6 years ago

@YadiraF Ok. cool. Not sure this is the right place for this how to question, but what is the quickest way to create an avatar or game character from this mesh (obj)? Should I download Blender and/or Unity?

Example: http://demo.loomai.com/signup

GewelsJI commented 5 years ago

@YadiraF Ok. cool. Not sure this is the right place for this how to question, but what is the quickest way to create an avatar or game character from this mesh (obj)? Should I download Blender and/or Unity?

Example: http://demo.loomai.com/signup

Very cool project. This request may be similar to issue 10. Is there a way to print the Dense alignment images (yellow + blue=green) shown in the readme? Is Matlab (not free) required?

"Simply use: imshow(image); hold on; pcshow(vertices); view(2);"

Also (btw), I have seen haar cascades combined with dlib for facial detection speedups:

path = "classifiers/haarcascade_frontalface_default.xml"

detector = dlib.get_frontal_face_detector()

detector = cv2.CascadeClassifier(path) predictor = dlib.shape_predictor(args["shape_predictor"])

photo on 4-28-18 at 12 00 am screenshot from 2018-04-28 00-39-17 screenshot from 2018-04-28 00-39-38 screenshot from 2018-04-28 00-39-53 ezgif com-video-to-gif

Hi! Kaisark: How can I generate the 3D image like your last picture?