The processing pipeline of the “bag-of-words” representation: (a) give an image, (b) divide into blocks, (c) represent each block by a “visual word,” and (d) ignore the ordering of words and represent the facial image as a histogram over “visual words.”