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

uv_face_eyes.png #60

Open yfnn opened 6 years ago

yfnn commented 6 years ago

I want to know how to get the image 'uv_face_eyes.png'? I want to get other organ's mask like 'uv_face_mouth.png' and so on. What should I do? Anyone knows that?

wungemach commented 6 years ago

@yfnn I'm not sure what file you are talking about. Do you mean that you just want a weight mask with an increased weight for the eye region? If so, the file uv_kpt_ind.txt lists the 68 keypoints. It should be easy to find those corresponding to the eyes and then make a [256,256] array where you color the vertices in some neighborhood of those points to get an eye mask. I did a similar thing at some point while I was looking at this paper wit success. Sorry if I am misunderstanding the question.