Skip to content

How to create a color face mesh obj file? #69

Open

Description

@jireh-father

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.

1_0_hrn_output

Activity

  1. Vishalkumar158 commented on Jul 10, 2025

    @Vishalkumar158

    make directory like this:

    Image

    ans use F3D to visualzie

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions