facebookresearch / multiface

Hosts the Multiface dataset, which is a multi-view dataset of multiple identities performing a sequence of facial expressions.
Other
718 stars 50 forks source link

How to generate an average texture from the multi-camera textures in unwrapped_uv_1024 #5

Closed shuishiwojiade closed 2 years ago

shuishiwojiade commented 2 years ago

Thanks for your great works! I have downloaded the mini-dataset. I'm interested in generating an average texture in average folder from the multi-camera textures in unwrapped_uv_1024 folder.

alexanderrichard commented 2 years ago

The average texture is just the average over all view-dependent textures. You might want to exclude the invisible parts (purely black areas of a view-dependent textures) from the averaging so you get a fair weighting of the average texel value on the texture.

cwuu commented 2 years ago

Hi,

You may also use the average texture on all expression&camera to approximate the result. You can download the metadata.tar and get the tex_mean.png from it, thanks!

cwuu commented 2 years ago

Hi,

It turns out that there's a bug in the download_dataset.py such that the metadata of the associated entity is not downloaded. The error is fixed and you should be able to get the average texturetex_mean.png directly by running the mini dataset download commend, thanks!