Bag of words model in computer vision