1. First compile the C++ models to be able to extract the features 2. Extract features using scripts in the "data extraction" folder, this allows to build a PCA subspace for HOGs that is relevant to faces and facial expressions - run all of the extract_features_*.m scripts - this will take some time: 4-20 hours depending on your machine as you will need to process a lot of visual data - you need to make sure you have the right datasets and they are in the right locations Create a PCA model