3DDFA_V2 icon indicating copy to clipboard operation
3DDFA_V2 copied to clipboard

UV Question

Open alexrichardson21 opened this issue 3 years ago • 1 comments

I was confused by the .obj format. Most face-mesh projects like MediaPipe and ARCore output .obj like:

v 0.000252 -0.042638 0.063704 v 0.000902 -0.022062 0.079183 v 0.000948 -0.028589 0.063385 . . . vt 0.427942 0.304722 vt 0.526878 0.295374 vt 0.444832 0.269206 . . . f 174/43 156/119 134/220 f 247/335 34/252 8/399 f 383/124 399/59 363/216

I was able to get the vt values thru utils/uv.py but I'm confused on how to get the 6 face values instead of just 3 face values. i.e.

f 2 131 1 to f 2/? 131/? 1/?

alexrichardson21 avatar Nov 16 '21 17:11 alexrichardson21

I think you may need to parse BFM_UV.mat.

cleardusk avatar Jan 23 '22 10:01 cleardusk