Deep3DFaceReconstruction icon indicating copy to clipboard operation
Deep3DFaceReconstruction copied to clipboard

How to generate the ears and necks in the demo?Do I need to retrain the model?

Open yougusee opened this issue 4 years ago • 7 comments

yougusee avatar Mar 10 '21 14:03 yougusee

Hi, if you want to generate ears and necks, you need to use the full BFM09 face model. We excluded ear and neck region of original BFM09 to allow the network concentrate on the face region. To see which vertices in the original model are preserved, check select_vertex_id.mat in the ./BFM subfolder. Note that index starts from 1. Then, you can pass the same shape and texture coefficients to the full model to get a 3d face with ears and neck.

YuDeng avatar Mar 11 '21 02:03 YuDeng

I tried to modify the code, but it doesn't work.can you me some suggestions to generate the ears and necks. image

yougusee avatar Mar 11 '21 13:03 yougusee

I try to change the index. However, I notice the file 'facemodel_info.mat' only has 35709 dimensions. It makes some error. How to solve it? Thank you.

BinzheLi95 avatar Jun 07 '21 17:06 BinzheLi95

我尝试更改索引。但是,我注意到文件“facemodel_info.mat”只有 35709 个维度。它会犯一些错误。如何解决?谢谢你。

Hi,have you solved the problem?

LY-Donkey-Burger avatar Oct 07 '22 15:10 LY-Donkey-Burger

I have same problem.

yuchen814 avatar Jan 29 '23 03:01 yuchen814

Hi, if you want to generate ears and necks, you need to use the full BFM09 face model. We excluded ear and neck region of original BFM09 to allow the network concentrate on the face region. To see which vertices in the original model are preserved, check select_vertex_id.mat in the ./BFM subfolder. Note that index starts from 1. Then, you can pass the same shape and texture coefficients to the full model to get a 3d face with ears and neck.

I notice the file 'facemodel_info.mat' only has 35709 dimensions. How to build this file? I am very confused.

yuchen814 avatar Jan 29 '23 03:01 yuchen814

Hi, if you want to generate ears and necks, you need to use the full BFM09 face model. We excluded ear and neck region of original BFM09 to allow the network concentrate on the face region. To see which vertices in the original model are preserved, check select_vertex_id.mat in the ./BFM subfolder. Note that index starts from 1. Then, you can pass the same shape and texture coefficients to the full model to get a 3d face with ears and neck.

I notice the file 'facemodel_info.mat' only has 35709 dimensions. How to build this file? I am very confused.

I met the same problem. Have you solved it ? thanks a lot

WangXuan2401 avatar Feb 09 '23 09:02 WangXuan2401