This is a matlab implementation of 3D morphable model as discussed in this paper by Volker Blanz and Thomas Vetter.
To use this code you will need the data set provided by the original authors. We do not have the license to distribute it. However, You can request for the data set here. Keep the .mat files in the same directory.
EditorApp.m: Running this app will open a gui which can be used to generate various shapes and texture of faces. Also you can add attributes like age, gender, weight and height.
demo.m: Running this script will fit the model to the image in Capture.PNG and generate a 3d output.
#To see previous results run:load('results.mat')
model = load('01_MorphableModel.mat')
display_face(shp,tex,model.tl,defrp)
Rest of the scripts are utility scripts.