The OpenCV codes for the bag of words, for a project at IIIT-H