How to get mesh from kinect fracetrack?

How to get the fitracking kinect mesh?

this is the grid: http://imgur.com/TV6dHBC

I tried several ways but couldn't get it to work.

for example: http://msdn.microsoft.com/en-us/library/jj130970.aspx

+3


source to share


1 answer


3D face model provided by IFTModel interface

The face tracking SDK also tries to set a 3D mask on users' faces. The 3D model is based on the Candide3 model ( http://www.icg.isy.liu.se/candide/ ):

Note:
  This model is not returned directly on every call to the Face Tracking SDK, but can be computed from AU and SU.

There is no direct functionality for this. You must use the triangle and vertex data to create the required vertex and index lists. The GetTriangles method gets you the faces (clockwise triangle vertex indices) and then from using those indices on the vertex array to get a 3d model. The vertex array needs to be reconstructed each frame from AC and SU with the Get3DShape or GetProjectedShape (2D) functions .



For more information, search for IFTModel ( http://msdn.microsoft.com/en-us/library/jj130970.aspx ) and for visualizeFaceModel (sample code that can help you understand the get3DShape props). (This example uses getProjectedShape, but the input parameters are almost identical for both functions)

+3


source







All Articles