tokens: Many hand - crafted computer vision features have been used to represent the density of the crowd , such as Local Binary Patterns ( LBP ) , Scale Invariant Feature Transform ( SIFT ) and Histogram of Oriented Gradient ( HOG ) .