I modified BFM_UV.mat using select_vertex_id.mat and save it as "BFM_UV_mod.mat"
I tried to get UV map using following source code, but I got black image.
This source code come from face3d - https://github.com/YadiraF/face3d/blob/master/examples/7_generate_uv_map.py
I guess I made mistake in colors variable.
Would you guide me how to get UV texture map?
I attached source code and BFM_UV_mod.mat file
I modified BFM_UV.mat using select_vertex_id.mat and save it as "BFM_UV_mod.mat" I tried to get UV map using following source code, but I got black image. This source code come from face3d - https://github.com/YadiraF/face3d/blob/master/examples/7_generate_uv_map.py I guess I made mistake in colors variable. Would you guide me how to get UV texture map? I attached source code and BFM_UV_mod.mat file
gentexture.zip