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.96k stars 944 forks source link

How to draw the color dense alignment points? #10

Closed shuyangyue closed 6 years ago

shuyangyue commented 6 years ago

In your code, there is green circle to represent the dense points, could you tell me how to plot the color dense points as shown in the readme.md

yfeng95 commented 6 years ago

Hi, Dense alignment images shown in readme are plotted by Matlab. Simply use:

imshow(image);  
hold on;  
pcshow(vertices);  
view(2);

Notice that, the color doesn't mean correspondence, the order of vertices actually represents the dense correspondences.

GewelsJI commented 5 years ago

Thank you! i fixed it!