microsoft / Deep3DFaceReconstruction

Accurate 3D Face Reconstruction with Weakly-Supervised Learning: From Single Image to Image Set (CVPRW 2019)
MIT License
2.18k stars 442 forks source link

Unit conversion during the data loading #12

Closed zhipeng-fan closed 5 years ago

zhipeng-fan commented 5 years ago

Hi, thanks for sharing this awesome work. Just got one question for the data loading code, it seems that you performed the unit conversion by dividing 1e5 for all the base and mean shape. I am wondering is it a normal practice to do that? Cause I see that the location of the vertex in 3dmm is usually large (in the order of 1e5), what is the unit for those coordinates in the 3dmm model?

YuDeng commented 5 years ago

Hi, the unit of 3dmm is μm and we use dm in our experiment. We conduct this conversion simply to be consistent with our previous experiments. It would be fine if you choose another unit or the original one in 3dmm.