zhuhao-nju / facescape

FaceScape (PAMI2023 & CVPR2020)
833 stars 94 forks source link

Question about landmark indices #114

Open AaboutL opened 9 months ago

AaboutL commented 9 months ago

Hi, Zhuhao, thanks for your great job. In your comment https://github.com/zhuhao-nju/facescape/issues/20#issuecomment-654246362, landmark_indices.txt is corresponding to the common 68 landmarks. But when I draw landmarks on the mesh according to landmark_indices.txt, I found it is not match the landmark position of the common 68 landmarks. For example, the red square points should be near the ear. Their vertex indices are: 10441, 1336, 1343, 1303, 1295, 2372. image Is this due to a mismatch error or is it intentional?

florisdf commented 9 months ago

Make sure you use the topology-uniformed model, see https://github.com/zhuhao-nju/facescape/blob/master/toolkit/demo_landmark.ipynb

malteprinzler commented 7 months ago

@AaboutL Since I found the landmarks to be misaligned still, I created a new landmark vertex index list. The corrected landmark indices are

5696
23350
5702
4651
4650
20322
21351
5013
1681
1692
11486
10439
1338
1339
2369
13524
2363
24759
3549
24702
24687
24632
14837
14899
14914
237
14968
6053
6041
1870
1855
4728
4870
1807
1551
1419
3434
3414
3447
3457
3309
3373
3179
151
127
143
3236
47
21018
4985
4898
6571
1575
1663
1599
1899
12138
5231
21978
5101
21067
21239
11378
11369
11553
12048
5212
21892

facescape_lmk_correction

HongchengZhao commented 5 months ago

@AaboutL Since I found the landmarks to be misaligned still, I created a new landmark vertex index list. The corrected landmark indices are

5696
23350
5702
4651
4650
20322
21351
5013
1681
1692
11486
10439
1338
1339
2369
13524
2363
24759
3549
24702
24687
24632
14837
14899
14914
237
14968
6053
6041
1870
1855
4728
4870
1807
1551
1419
3434
3414
3447
3457
3309
3373
3179
151
127
143
3236
47
21018
4985
4898
6571
1575
1663
1599
1899
12138
5231
21978
5101
21067
21239
11378
11369
11553
12048
5212
21892

facescape_lmk_correction

This new landmark vertex index list seems to be wrong as well, does anybody manage to get the correct landmark indices?