Open jireh-father opened 1 month ago
How to create a color face mesh obj file?
Even though I added a texture map like the code below, the color texture is not applied.
# in save_results of facerecon_model.py color_map = (self.extra_results['pred_face_high_color'].permute(0, 2, 3, 1)[0] * 255.0).detach().cpu().numpy() color_map = color_map[..., ::-1].clip(0, 255) dense_mesh = { 'vertices': dense_vertices_batch[i], 'faces': dense_faces_batch[i], 'texture_map': color_map, }
I want obj file like the last image of the gif below.
How to create a color face mesh obj file?
Even though I added a texture map like the code below, the color texture is not applied.
I want obj file like the last image of the gif below.