Documentation for Facial Retargeting Toolbox
This toolbox provides MATLAB implementations of ioTRBMs and FIOTRBM models for use in facial retargeting expeirments.

Download and unzip this toolbox in the location of choice. To setup this toolbox, simply open matlab, cd to this directory, and type "setupRetargetToolbox" (without quotes) in the command window. This sets up your path to include the required directories (you may want to add these paths into your startup.m file as well however). You can also read the setupRetargetToolbox.m file for some basic documentation about the Toolbox. You will likely have to add Piotr Dollar's toolbox to your path for pca function. It can be found at:
The main script to run is retargetdemo.m. In there you can select the type of model you want to train, the data you want to train on, and all parameters of the model(s). Once training is done, test_retarget.m is called to evaluate the performance of the trained model on the test set. You can call test_retarget.m on any saved models to evaluate their performance as well. Note: the code saves all variables in the work space the first and last times it saves, then only saves the required model variables every 100 epochs so you can evaluate the model at a later point in time at any of those checkpoints.
Permission is granted for anyone to copy, use, modify, or distribute this program and accompanying programs and documents for any purpose, provided this copyright notice is retained and prominently displayed, along with a note saying that the original programs are available from our web page. The programs and documents are distributed without any warranty, express or implied. As the programs were written for research purposes only, they have not been tested to the degree that would be advisable in any important application. All use of these programs is entirely at the user's own risk.
Please report any bugs to [email protected].
 All Classes Files Functions Variables Typedefs Friends Defines