Example showing the steps to build a Bag of Visual Words using local features
for some images. In the example we perform the K-means clustering on the
features of the same images that we want to build BoVW representations for,
however in reality, you're more likely to do the clustering on a different
set of images (perhaps even on a random sample of their features).