Giter Club home page Giter Club logo

facialretargeting's Introduction

This repository reproduce the paper "Facial Retargeting with Automaticc Range of Motion Alignment" (2017) done by Roger Blanco, Eduard Zell et. al

It supposes that you already have a character mesh with blendshapes and a set of Vicon motion capture (in a .c3d file).

Pre steps:

  1. The first step is to triangulate all your mesh. If your mesh is not triangulate, you can run the script: 01_triangulate_mesh by copy pasting it (within "maya_script" folder) in the script editor of Maya. It will take care of triangulate the mesh and all its blendshapes provided you modify the name of the base mesh and the repository of the blendshape meshes.
  2. If not already done, you now need to attached all the blendshape. We recommend to delete your node and apply the provided script "02_create_blendshapes_nodes" which will save a mesh_name_list that will be used to ensure the correct indexation of your blendshapes and the final facial retargeting weights.
  3. You now need to built the dictionary of vertices that semantically represent the positions of your markers on the character. You will be require to change the "vtx_list" within the script "03_extract_blendshape_pos_and_obj", which will save the positions of all the sparse markers for each blendshape as well as saving the blendshapes into an .obj file which we be use to compute the Laplacian over the full meshes.

Facial retargeting:

  1. First, compute the actor specific blendshape (delta_p). Run: python build_actor_blendshapes.py
  2. Secondly, pre-compute the LdV matrix. Note: this script uses PyMesh which is not yet available for Win10.
  3. run python retarget.py to get your retargeting weights for your sequence
  4. run ... to apply the weights to your mesh witin Maya

facialretargeting's People

Contributors

david-schu avatar michaelstettler avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.