Adapted eigenface and gabor_graphs algorithm to correct protocol.