Given a 2D flat image of a persons head, along with the pitch, roll, yaw and head center position project the face on a also provided 3D head mesh.
The 3D mesh and the 2D texture will not be in the same pose (pitch,roll, yaw) so some rotation will need to occur.
For more details see attached picure with sample.
The program should be in written in C or C++, you can use any suitable free/open library (opengl/opencv/etc), you must provide source code that will compile in visual studio 2010.